Instructions
- To create the display file T1520DD0 using the DDS source shown
below, enter:
Figure 1 shows the DDS source.CRTDSPF FILE(MYLIB/T1520DD0) SRCFILE(QCPPLE/QADDSSRC) - To create the program T1520ID2, using the source shown in Figure 2, enter:
CRTBNDC PGM(MYLIB/T1520ID2) SRCFILE(QCPPLE/QACSRC) - To run the program T1520ID2, enter:
CALL PGM(MYLIB/T1520ID2)The output is as follows:PHONE BOOK Name: Address: Phone #: F3 - EXIT