How To
Summary
JCL can be used to invoke SDSF to issue LI REQ commands and send the output to a data set.
Steps
The following JCL can be used to invoke SDSF to issue LI REQ commands and direct the output of the commands to a data set:
//SDSF EXEC PGM=SDSF
//ISFOUT DD SYSOUT=*
//CMDOUT DD DSN=output.dataset,
// DISP=(,CATLG,DELETE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0),
// SPACE=(CYL,(1,1)),UNIT=SYSDA
//ISFIN DD *
SET CONSOLE BATCH
SET DELAY xxx
W/LI REQ,your command1
W/LI REQ,your command2
PRINT FILE CMDOUT
ULOG
PRINT
PRINT CLOSE
/*
//
Additional Information
Each LI REQ command causes 2 messages to be surfaced: the CBR1020I and CBR1280I.
The 'SET DELAY xxx' command is used to set the amount of time (in seconds) that SDSF will wait for messages in response to each issued command. The value specified should be set to a number of seconds that allow enough time for both the LI REQ request to be sent to the TS7700 (CBR1020I) as well as for the TS7700 to process the request and send a response to the host (CBR1280I).
The prefix of 'W' on each LI REQ command causes the SET DELAY value to be unconditional. If the command 'SET DELAY 30' is issued, even if the CBR1020I and CBR1280I are surfaced in 5 seconds, SDSF will continue to wait until 30 seconds have elapsed before issuing the next LI REQ request.
The 'SET DELAY xxx' command is used to set the amount of time (in seconds) that SDSF will wait for messages in response to each issued command. The value specified should be set to a number of seconds that allow enough time for both the LI REQ request to be sent to the TS7700 (CBR1020I) as well as for the TS7700 to process the request and send a response to the host (CBR1280I).
The prefix of 'W' on each LI REQ command causes the SET DELAY value to be unconditional. If the command 'SET DELAY 30' is issued, even if the CBR1020I and CBR1280I are surfaced in 5 seconds, SDSF will continue to wait until 30 seconds have elapsed before issuing the next LI REQ request.
Note: If an issue occurs that results in the TS7700 taking a longer time to process the LI REQ command than the SET DELAY value set, the output data set will NOT include the CBR1280I for that LI REQ request. However, the LI REQ request may still be processed later within the TS7700 and when the TS7700 notifies the host that the LI REQ is complete, the CBR1280I will be surfaced to the SYSLOG.
Document Location
Worldwide
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG90","label":"z\/OS"},"ARM Category":[{"code":"a8m0z0000000AQKAA2","label":"DFSMS->Data Mgmt Support"}],"ARM Case Number":"","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All Version(s)","Line of Business":{"code":"LOB56","label":"Z HW"}}]
Was this topic helpful?
Document Information
More support for:
z/OS
Component:
DFSMS->Data Mgmt Support
Software version:
All Version(s)
Operating system(s):
z/OS
Document number:
6193419
Modified date:
03 September 2021
UID
ibm16193419
Manage My Notification Subscriptions