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
 

 

When does IDCAMS return a MAX CC 12?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Shirazpasha

New User


Joined: 24 Nov 2006
Posts: 14
Location: India

PostPosted: Wed Dec 06, 2006 6:44 pm    Post subject: When does IDCAMS return a MAX CC 12?
Reply with quote

I wrote a jcl that copies a PS to a GDG. The job returned a MAXX CC 12 but it has created the GDG copy as well.
I wanted to know when does IDCAMS return a code 12.
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Wed Dec 06, 2006 6:53 pm    Post subject:
Reply with quote

what does the job's listing show?
Back to top
View user's profile Send private message
Shirazpasha

New User


Joined: 24 Nov 2006
Posts: 14
Location: India

PostPosted: Fri Dec 08, 2006 6:53 pm    Post subject:
Reply with quote

I dont have the sysout with me. It was purged in production.
The sysout read MAX CC 12
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Dec 08, 2006 7:01 pm    Post subject:
Reply with quote

I can only assume that the idcams was intended to do more than one thing. Did the copy fully finished the copy?

Can you rerun to obtain the sysout?

Problems easily solved with the right information can be impossible to understand without it.
Back to top
View user's profile Send private message
Shirazpasha

New User


Joined: 24 Nov 2006
Posts: 14
Location: India

PostPosted: Sat Dec 09, 2006 4:50 pm    Post subject:
Reply with quote

Hi,
I finally found out the reason. After the REPRO command in the jcl, i had specified the delimiter(/*) and a comment statement(//*).
But instead of coding these from the first column, i had coded them in the 4th coulmn.
So IDCAMs after executing the REPRO tried executing these lines as part of its commands and returned as MAXX CC 12.

Regards,
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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm
No new posts DFHWS2LS return value divated CICS 4 Mon Nov 07, 2016 5:44 pm


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