JCL ERROR



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 8:38 am

Hi All,

I am getting JCL error while submitting the below code-:
Can you please help me out here.
You do not have the required permissions to view the files attached to this post.
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

 

Re: JCL ERROR

Postby steve-myers » Tue Feb 14, 2012 9:00 am

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 9:43 am

Thanks for the quick response Steve, even after adding the programmer name and SORTOUT in place of OUTFILE getting the jcl error
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 9:51 am

The information from spool goes like this
You do not have the required permissions to view the files attached to this post.
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

Postby NicC » Tue Feb 14, 2012 12:24 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 1:07 pm

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.
You do not have the required permissions to view the files attached to this post.
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 1:08 pm

Message in spool
You do not have the required permissions to view the files attached to this post.
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

Postby enrico-sorichetti » Tue Feb 14, 2012 1:16 pm

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 ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: JCL ERROR

Postby raghuvanshi » Tue Feb 14, 2012 1:40 pm

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!
raghuvanshi
 
Posts: 43
Joined: Tue Dec 07, 2010 5:32 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL ERROR

Postby Frank Yaeger » Tue Feb 14, 2012 11:40 pm

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
/*
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post