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

When does IDCAMS return a MAX CC 12?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Wed Dec 06, 2006 6:53 pm
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
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: 3156
Location: Tucson AZ

PostPosted: Fri Dec 08, 2006 7:01 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts REXX GETMSG does not return £HASP880... CLIST & REXX 2
No new posts RXSUBCOM Return Codes / Documentation CLIST & REXX 6
No new posts IDCAMS listcat service using cobol JCL & VSAM 1
Search our Forums:

Back to Top