Using the Convert Print utility is a three-step process:
YSTRCVTPRT PRTF(QSYSPRT YPRTKEY$)
Any output to the nominated files will be trapped for conversion. Starting print key conversion mode invokes the i OS command entry program QCMD, thus allowing you to call the commands or programs whose displays you wish to document.
YCVTPRT PRTF(*ALL) SPLNBR(*ALL) FILE(QTXTSRC) MBR(FRED)
This command would convert all print key output to a spool file member FRED in file QTXTSRC.
The following commands would produce the illustration shown next:
YSTRCVTPRT /* Start print conversion. */
STRPGMMNU /* Call programmer’s menu. */
Type in (for example) "YGO *Y" and press PRINT key.....
YCVTPRT /* Convert print output to source. */
You may control the characters used to form the frame by using the Toolkit Edit Design Defaults command (YEDTDSNDFT).
|
Copyright © 2014 CA.
All rights reserved.
|
|