Problem solve Get help with specific problems with your technologies, process and projects.

Shortcut for runqry

Use shortcut for runqry to get quick glace at file or field names or file format name.

File must be in *libl.
Command is RQ Filename.
Runqry with select records screen comes up.


** command

CMD PROMPT('Enter File')
PARM KWD(FILE) TYPE(*CHAR) LEN(10) PROMPT('File +
Name')

--------------------------------

** CL
PGM PARM(&FILE)

DCL VAR(&FILE) TYPE(*CHAR) LEN(10)
MONMSG MSGID(QRY1012 CPF0001)
RUNQRY QRYFILE((&FILE)) RCDSLT(*YES)
ENDPGM

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close