Example of the //*DATASET statement

//*PROCESS OUTSERV
//*DATASET DDNAME=MYPRINT,J=YES
           .
           .
          data
           .
           .
//*ENDDATASET
//*FORMAT PR,DDNAME=MYPRINT,COPIES=5
//STEP1   EXEC ...
           .
           .

In this example, the //*DATASET statement marks the beginning of the in-stream data set MYPRINT. The //*FORMAT PR statement requests five copies of it. The //*ENDDATASET statement marks the end of the data set.