Page 1 of 2

JCL ERROR

PostPosted: Tue Feb 14, 2012 8:38 am
by raghuvanshi
Hi All,

I am getting JCL error while submitting the below code-:
Can you please help me out here.

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 9:00 am
by steve-myers
Well, one problem is the 20 byte programmer name field on the job statement is incomplete. Another problem is I think the output in the sort step should be going to a dataset specified by a DD statement with DD name SORTOUT, not OUTFILE.

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 9:43 am
by raghuvanshi
Thanks for the quick response Steve, even after adding the programmer name and SORTOUT in place of OUTFILE getting the jcl error

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 9:51 am
by raghuvanshi
The information from spool goes like this

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 12:24 pm
by NicC
Well, look at the statement labelled 8 and see if you can see what I see - and is obvious from your first post. The change in colour is a big clue and another big clue is the message about a continuation not being there and third clue is that JCL statements begin //.

Open your eyes and your brain.

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 1:07 pm
by raghuvanshi
Thanks for noticing NicC, I am getting user abend U0063, I tried to search about it, but very less info.Could someone through some light on the abend.

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 1:08 pm
by raghuvanshi
Message in spool

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 1:16 pm
by enrico-sorichetti
why not look at the manual Yourself ?...
for SYNCORT they are/should be available inside Your organization,
for DFSORT You can start searching from http://www-03.ibm.com/systems/z/os/zos/ ... index.html
but ... did You consider that for a <standard> <sort/merge> the output ddname must be SORTOUT ?
and ... that the input datasets must already be in the proper sequence ?

and please do not post screen images, they clutter the topic,
a plain text cut and past and surrounded by the code tags is more than enough.

posts just crossed...
the SYSOUS reference is quite puzzling
the missing SORTLIB is a symptom of a poor installation
( a good installation would not have the need to specify it explicitly )
given the above issues the best place to ask is YOUR SUPPORT

why not clone a job/jcl that is already running ???

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 1:40 pm
by raghuvanshi
Hi Enrico thanks for the suggestion SORTOUT worked for me.I will keep in mind to post code in plain text if possible.Thanks a lot!

Re: JCL ERROR

PostPosted: Tue Feb 14, 2012 11:40 pm
by Frank Yaeger
raghuvanshi,

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books (including the Messages manual), from:

http://www.ibm.com/support/docview.wss? ... g3T7000080

BTW, if you want to use a ddname other than SORTOUT for the output data set, you can do that in one of two ways:

//DFSPARM DD *
   OPTION SORTOUT=OUTFILE
/*


or

//DFSPARM DD *
   OUTFIL FNAMES=OUTFILE
/*