The following JCL job executes an application program called SAMPLE. SAMPLE performs some kind of application-oriented processing on the dataset object, DIV.SAMPLE, that was allocated in Creating a linear data set.
When SAMPLE executes, it issues a DIV macro specifying to the IDENTIFY service the name of the data-in-virtual object that it will process. To identify the data set, SAMPLE specifies the ddname, DYNAMIC, on the DDNAME parameter of the DIV macro.
//*
//*
//* EXECUTE A DATA-IN-VIRTUAL APPLICATION
//*
//SAMPLE EXEC PGM=SAMPLE
//STEPLIB DD DSN=DIV22.LOAD.JOBS,DISP=SHR
//DYNAMIC DD DSN=DIV.SAMPLE,DISP=SHR
//SYSABEND DD SYSOUT=*
/*