Invoking SDSF in batch

Invoke SDSF on an EXEC statement with one of two program names:
  • SDSF, which supports commands and action characters.
  • ISFAFD, which supports commands, action characters, and overtyping of fields on tabular and other panels, such as the print panels.

Follow the EXEC statement with an ISFIN DD for batch input, and an ISFOUT DD for the batch output.

For example, a batch job to invoke program name ISFAFD might use these statements:
 //       EXEC PGM=ISFAFD
 //ISFOUT DD SYSOUT=*
 //ISFIN  DD *

The DCB attributes for ISFIN are RECFM=FB, LRECL=80, and the BLKSIZE is any multiple of 80. The DCB attribute for ISFOUT is RECFM=FBA. The LRECL is the screen width + 1 , and the BLKSIZE is any multiple of the LRECL.

To change screen width and depth of the batch output, use PARM='++xxxx,yyyy', following the program name, where xxxx is the depth of the screen (number of lines) and yyyy is the width (number of characters). For example, to set the depth to 32 and the width to 1000, use:
 //       EXEC PGM=SDSF,PARM='++32,1000'
 //ISFOUT DD SYSOUT=*
 //ISFIN  DD *
If you do not use the PARM statement, the width defaults to 132 and the depth to 60. The maximum for width and depth is 9999.
You can change the name of the SDSF server when invoking SDSF in batch. In the following example, the server name is SDSFT.
// EXEC PGM=SDSF,PARM='SERVER(SDSFT)'
If you add the server name when invoking SDSF in batch, you cannot combine it with changes to the dimensions of the screen.

A return code of 0016 when SDSF is invoked in batch indicates that the user could not be placed in any of the groups defined with ISFPARMS. See for a description of ISFPARMS.