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

This was last published in April 2001

Dig Deeper on RPG iSeries programming

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close