Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

MAXCC=16 in job that copies KSDS to QSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: MAXCC=16 in job that copies KSDS to QSAM
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

Moderator Team Head


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

PostPosted: Wed Mar 07, 2007 6:40 pm    Post subject: Re: MAXCC=16 in job that copies KSDS to QSAM
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    Post subject: Re: MAXCC=16 in job that copies KSDS to QSAM
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

Site Director


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

PostPosted: Thu Mar 08, 2007 10:06 pm    Post subject:
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

Site Director


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

PostPosted: Thu Mar 08, 2007 10:07 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Empty KSDS Files Jeenu Bajaj JCL & VSAM 6 Fri Aug 21, 2015 2:44 pm
No new posts VB to KSDS repro kranthikumarb JCL & VSAM 1 Fri Aug 14, 2015 4:45 pm
No new posts Vsam KSDS krish2309 JCL & VSAM 6 Mon Jul 06, 2015 2:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us