z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example C: Putting a directory path in the DD statement and a subdirectory path in the INCLUDE statement

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

In this example, hello.o is in a subdirectory, subdir. INPUT specifies the directory that subdir is in, and the INCLUDE statement specifies the subdirectory and file name. A second file, goodbye.o is also included that is in the main directory, not in subdir.

//INPUT     DD PATH='/u/userid/',PATHDISP=(KEEP,KEEP)                     
//SYSLMOD   DD DSN=USERID.PDSE.LOAD,DISP=SHR                              
//SYSLIN    DD *                                                          
  INCLUDE -IMPORTS,-ATTR,INPUT('subdir/hello.o','goodbye.o')              
  NAME TEST(R)                                                            
/*   

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014