IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MAXCC=16 in job that copies KSDS to QSAM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sadashiv.a.bhosure

New User


Joined: 01 Feb 2007
Posts: 15
Location: india

PostPosted: Wed Mar 07, 2007 4:51 pm
Reply with quote

I have a job which has several steps, which copies a KSDS file to a QSAM file in each step. In the SYSIN DD we specify IF LASTCC=12 SET MAXXCC=0000. All the KSDS files are empty. The job is running fine for the first two steps, but in the 3rd step it is gives MAXCC=16. The job is using a PGM=SYU8 in each step. But when I ran the step with IDCAMS utility it is running fine.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 07, 2007 6:40 pm
Reply with quote

What is PGM=SYU8? Who wrote it? What does it do?
Back to top
View user's profile Send private message
sadashiv.a.bhosure

New User


Joined: 01 Feb 2007
Posts: 15
Location: india

PostPosted: Thu Mar 08, 2007 10:40 am
Reply with quote

We dont know about the program SYU8, but the same program is being used in the previous two steps, and the KSDS is empty in those two steps as well, and ths same thing is happening on those two steps i.e KSDS is being copied to to a flat file,in those two steps we are getting a return code of 12 as expected. but in this step we are getting 16.


Please help.....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 08, 2007 10:06 pm
Reply with quote

Hello,

Be very cautious using a program that "We dont know about the program SYU8. . .".

If IDCAMS does all that you need, i'd recommend putting IDCAMS in those steps. You must ensure that IDCAMS not runs successfully, but that it does precisely what you need.

It does not matter that SYU8 runs correctly some of the time. It matters that it is not supportable.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 08, 2007 10:07 pm
Reply with quote

Hello again,

Typo above
Quote:
You must ensure that IDCAMS not runs

should read
Quote:
You must ensure that IDCAMS not only runs


Ooops.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts VSAM KSDS CREATION AND LOAD WITH RAND... JCL & VSAM 1
No new posts FILE STATUS - 39 ON VARIABLE LENGTH V... COBOL Programming 2
No new posts Error Creating KSDS file, REASON CODE... JCL & VSAM 8
No new posts IEBCOPY - Not replace a existing PDS ... JCL & VSAM 15
Search our Forums:

Back to Top