Example of the //*ENDDATASET statement

//*DATASET DDNAME=INFO,J=YES
           .
           .
           data
           .
           .
//*ENDDATASET

In this example, the //*ENDDATASET statement marks the end of the in-stream data set INFO.