This example shows how to store prompting keywords in a SYS1.PARMLIB member.
If you start GTF with options requiring prompting keywords stored in SYS1.PARMLIB, these prompting keywords must also appear in the parmlib member. If prompting keywords are used in the parmlib member without the replies included, GTF will not obtain the replies from the console. GTF will use the options without the prompting (for example, SVCP becomes SVC). A SYSLIB DD statement in your cataloged procedure causes GTF to read the prompting keywords from the specified parmlib member. The second and subsequent logical records in the member should contain only the prompting keywords.
Record #1 TRACE=IOP,SVCP,SSCH
Record #2 IO=(D34,D0C),SVC=(1,2,3)
Record #3 SVC=(4,5,6,7,8,9,10),END
Do not respecify the keyword through the system console at this point, because GTF will then override all of the options and keywords in the parmlib member.
AHL103I TRACE OPTIONS SELECTED--IOP,SVCP,SSCH
AHL103I IO=(D34,D0C),SVC=(1,2,3,4,5,6,7,8,9,10)
This message may be a multiple-line message, depending on the number of options you select. If the set of devices specified for IO= and SSCH= are identical, message AHL103I will show them as if specified by use of IO=SSCH.
AHL125A RESPECIFY TRACE OPTIONS OR REPLY U.
GTF does not record any other SVC, IO, and SSCH events. Because you did not specify any program interruption codes for PI=, GTF would trace all program interruptions.
START MYPROC.EXAMPLE7,,,(MODE=EXT)
00 AHL100A SPECIFY TRACE OPTIONS
REPLY 00,TRACE=SYSP,USRP
01 AHL101A SPECIFY TRACE EVENT KEYWORDS--IO=,SSCH=,SVC=,PI=,USR=
01 AHL101A SPECIFY TRACE EVENT KEYWORDS--IO=SSCH=
REPLY 01,SVC=(1,2,3,4,10),IO=(191,192),USR=(10,07A,AB)
02 AHL102A CONTINUE TRACE DEFINITION OR REPLY END
REPLY 02,SSCH=282,END
AHL103I TRACE OPTIONS SELECTED--SYSP,PI,IO=(191,192),SSCH=(282)
AHL103I SVC=(1,2,3,4,10),USR=(010,07A,0AB)
03 AHL125A RESPECIFY TRACE OPTIONS OR REPLY U
REPLY 03,U
The final result of these specifications is that GTF traces CCWs for both start subchannel operations and I/O interruptions at device 580 for the job BACKWARD, and all SVCs in BACKWARD's address space. GTF would allocate 200 entries in the PCI table, and trace up to 100 CCWs or DCWs, up to 40 bytes of data for each CCW or DCW, and the IOSB, IOBE, and EWA.
START USRPROC,,,(MOD=EXT)
00 AHL100A SPECIFY TRACE OPTIONS
REPLY 00, TRACE=SSCHP,IOP,PCI,CCWP,SVC,JOBNAMEP
01 AHL101A SPECIFY TRACE EVENT KEYWORDS
--IO=,SSCH=,CCW=,JOBNAME=,IO=SSCH=
REPLY 01,JOBNAME=(BACKWARD),IO=SSCH=580
02 AHL102A CONTINUE TRACE DEFINITION OR REPLY END
REPLY 02,CCW=(CCWN=100,DATA=40,PCITAB=2,IOSB,SI),END
AHL103I TRACE OPTIONS SELECTED--PCI,SVC,IO=SSCH=(580)
AHL103I CCW=(SI,IOSB,CCWN=100,DATA=40,PCITAB=2)
AHL103I JOBNAME=(BACKWARD)
03 AHL125A RESPECIFY TRACE OPTIONS OR REPLY U
REPLY 03,U