As400: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 4: Line 4:
  CTRL + q
  CTRL + q
=Send message via ssh=
=Send message via ssh=
  ssh IPMONTEST@jnlp4003.corp.jndata.net.jndata "system \"SNDMSG MSG('this is a test msg') TOMSGQ(*SYSOPR)\""
  ssh USER@host.net "system \"SNDMSG MSG('this is a test msg') TOMSGQ(*SYSOPR)\""
 
=Read messages via ssh=
=Read messages via ssh=
  ssh IPMONTEST@jnlp4003.corp.jndata.net.jndata 'system "dspmsg qsysopr"'
  ssh IPMONTEST@jnlp4003.corp.jndata.net.jndata 'system "dspmsg qsysopr"'

Revision as of 11:34, 7 June 2018

connect

tn5250 host

quit

CTRL + q

Send message via ssh

ssh USER@host.net "system \"SNDMSG MSG('this is a test msg') TOMSGQ(*SYSOPR)\""

Read messages via ssh

ssh IPMONTEST@jnlp4003.corp.jndata.net.jndata 'system "dspmsg qsysopr"'