This example shows an invocation of DSINFO to obtain information about a cataloged data set.
ISPEXEC DSINFO DATASET(DSNAME)
CALL ISPLINK('DSINFO ',DSNAME);
or Set
the program variable BUFFER to contain: BUFFER = 'DSINFO DATASET(DSNAME)';
Set
program variable BUFLEN to the length of the variable BUFFER. Enter
the command: CALL ISPEXEC (BUFLEN, BUFFER);