Hi all 

 I submit the following JCL

 
//LOGWDSJ  JOB CLASS=A                                               
//STEP1   EXEC PGM=IEBGENER                                  
//SYSUT1  DD DUMMY,DCB=(LRECL=133,RECFM=FB)                  
//SYSUT2   DD  DISP=(,CATLG,DELETE),RETPD=366,VOL=(,,,1),    
//         DSN=BKTST.SYSLOG.PLEXH1.BH01.WEEKLY(+1),          
//         UNIT=VTAPE,SPACE=(CYL,(120,50)),DATACLAS=DCCOMP,   
//         DCB=(LRECL=133,RECFM=FB)                          
//SYSPRINT DD  SYSOUT=*                                      
//SYSIN    DD  DUMMY


The JCL allocated the GDG BKTST.SYSLOG.PLEXH1.BH01.WEEKLY(+1) successfully.


But I start the following cataloged procedure 


//LOGWDS  PROC                                               
//STEP1   EXEC PGM=IEBGENER                                  
//SYSUT1  DD DUMMY,DCB=(LRECL=133,RECFM=FB)                  
//SYSUT2   DD  DISP=(,CATLG,DELETE),RETPD=366,VOL=(,,,1),    
//         DSN=BKTST.SYSLOG.PLEXH1.BH01.WEEKLY(+1),          
//         UNIT=VTAPE,SPACE=(CYL,(120,50)),DATACLAS=DCCOMP,   
//         DCB=(LRECL=133,RECFM=FB)                          
//SYSPRINT DD  SYSOUT=*                                      
//SYSIN    DD  DUMMY


The  cataloged procedure cann't allocate the GDG 
BKTST.SYSLOG.PLEXH1.BH01.WEEKLY(+1) ,but the return code is zero.
   

The JCL is almost similar as the cataloged procedure.

My questions:

1.I wonder why the cataloged procedure cann't allocate the GDG but the JCL can 
do it.

2.There is less messages in SDSF.H for the cataloged procedure output,How can I 
get more messages for it. 

3.What is the differences between starting a cataloged procedure and 
submittinga JCL. 

Any Suggestions are highly appreciated!

Thanks a lot!

Best Regards,

Jason Cai 


                                 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to