Geekish Garrulous Grumblings blogs › How to get IBM i command line during runtime using System Request 3
Here's a blast from the past:
I was just testing an IBM i program that is importing data from a Windows Server, converting the data, juggling it, tweaking it and when its finished playing it finally shoves it into an IBM i Database. Fun Fun FUN! But if its running interactive and I want to quickly get the command line... I'm stuck. The green screen is input inhibited. Luckily, we can easily get command line access by tweaking the system request functions of IBM i.
HACKEAT EMPTOR - obviously only grant this command line access if your system i is properly secured. You dont want any old Tom, Dick or Harry getting to the command line to do you?
The system request functions do a bunch of neat things during any interactive session - SysRq/2 shows a DSPJOB command. Luckily its super easy to change the command associated with all the system request functions.
Right now, lets quickly tweak the sysrq/2 function.
WRKMSGD MSGID(CPX2313) MSGF(QCPFMSG)
Read the original at Geekish Garrulous Grumblings blogs.