Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-19 Thread ibmnew
Dear all You are right.It is security. I checked the SYSLOG and found the messages. Thanks a lot! Best Regards, Jason Cai 发件人: Mary Anne Matyaz 发送时间: 2010-05-18 19:08:56 收件人: IBM-MAIN 抄送: 主题: Re: What is the difference between starting a cataloged procedure and submitting

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Paul Gilmartin
On Tue, 18 May 2010 14:39:59 -0400, Dave Barry wrote: >The term to use is "uninitialized." It matters not what DSORG, etc. appears >in the catalog and/or VTOC entries. > DSORG matters. If the data set is SMS managed (or is it sufficient that SMS be active?) and DSORG is given in the "DD DISP=NE

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Dave Barry
Other run-time environments are not as accomodating, however. db -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Tuesday, May 18, 2010 11:07 AM To: IBM-MAIN@bama.ua.edu Subject: Re: What is the difference between starting a cata

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Paul Gilmartin
On Tue, 18 May 2010 09:36:23 -0500, Hal Merritt wrote: >IEFBR14 creates only a 'null' file. Most programs trying to open and read a >'null' file will fail. > Depending on SMS, whether DSORG can be determined, etc. -- gil -- For

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread R.S.
Hal Merritt pisze: IEBGENER will create a real dataset with an end of file that can be successfully opened and read. IEFBR14 creates only a 'null' file. Most programs trying to open and read a 'null' file will fail. I can think of several scenarios where an empty, readable file is needed. I c

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Hal Merritt
ed. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Elardus Engelbrecht Sent: Tuesday, May 18, 2010 5:26 AM To: IBM-MAIN@bama.ua.edu Subject: Re: What is the difference between starting a cataloged procedure and submitting a JCL Jason Cai w

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Lizette Koehler
With a STC your msgclass is defined in JES. Depending on your z/OS level you can start your STC as follows S LOGWDSJ,MSGCLASS=?? Change ?? to the class that allows the Output to be held on JES or at least not printed/purged. Then you can see what is going on. When you use SYSOUT=* in an STC it

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Mary Anne Matyaz
For tape, yes. IEFBR14 will not create an EOF marker. MA On Tue, 18 May 2010 05:25:47 -0500, Elardus Engelbrecht > >Why are you using empty SYSUT1 with IEBGENER in both jobs? Is something >wrong with using IEFBR14? > -- For IBM

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Mary Anne Matyaz
Jason, My bet is it's security (Started task has a different security ID than your batch job submit). Did you check the SYSLOG to see if there were any messages around the time of your proc executing? When your proc starts, Getting more output: Started tasks may have a different MSGCLASS ($DJ

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Elardus Engelbrecht
Jason Cai wrote //STEP1 EXEC PGM=IEBGENER //SYSUT1 DD DUMMY,DCB=(LRECL=133,RECFM=FB) Why are you using empty SYSUT1 with IEBGENER in both jobs? Is something wrong with using IEFBR14? Groete / Greetings Elardus Engelbrecht -

Re: What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread Elardus Engelbrecht
Jason Cai wrote: >The cataloged procedure cann't allocate the GDG BKTST.SYSLOG.PLEXH1.BH01.WEEKLY(+1) ,but the return code is zero. What messages are you receiving? >1.I wonder why the cataloged procedure cann't allocate the GDG but the JCL can do it. Perhaps RACF could block the proc? Perha

What is the difference between starting a cataloged procedure and submitting a JCL

2010-05-18 Thread ibmnew
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), //