Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts IDCAMS Allocate & Repro pahiker JCL & VSAM 9 Thu Aug 24, 2017 7:28 pm
No new posts EXIT or RETURN cvnlynn CLIST & REXX 18 Wed Jul 19, 2017 2:50 am
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us