MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How does CA7 determine where to insert "it's JCL"

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
Samuel
Beginner


Joined: 12 Aug 2004
Posts: 38
Topics: 10

PostPosted: Fri Jul 08, 2005 10:09 am    Post subject: How does CA7 determine where to insert "it's JCL" Reply with quote

I have job that is not running due to a JCL error.
Code:

STMT NO. MESSAGE                                                       
       2 IEFC001I PROCEDURE CA11RMS WAS EXPANDED USING SYSTEM LIBRARY S
       8 IEFC019I MISPLACED JOBLIB STATEMENT                           
      19 IEFC001I PROCEDURE SORT WAS EXPANDED USING SYSTEM LIBRARY SYS1
      32 IEFC001I PROCEDURE SORT WAS EXPANDED USING SYSTEM LIBRARY SYS1


Code:

//PSCRJ053 JOB 12345678, ---FNS 209 AND SSA 4972 QUARTERLY PRINT
// '9010,JCL,PRODUCTION ',TIME=(03,29),MSGCLASS=J,REGION=4M,   
// COND=(0,NE),USER=XXXXXXXX                                   
//JOBLIB  DD   DSN=PS.CA7.LINKLIB,DISP=SHR                     
//MFICHE  EXEC PGM=JOBLOG00                                     



As you can see the JOBLIB DD statement is the first JCL statement following the JOB statement, but CA7 is putting it's two cents in before the
JOBLIB DD statement.

Code:

1 //PSCRJ053 JOB 12345678, FNS 209 AND SSA 4972 QUARTERLY PRINT 
  // '9010,JCL,PRODUCTION ',TIME=(03,29),MSGCLASS=J,REGION=4M,   
  // COND=(0,NE),USER=XXXXXXXX                                   
  //* CA-7 JOB#=1064 DUE OUT 05.189/10.00 JCLID=111 SCHID=003 EN
  //* CA-7 COM2                                                 
  //*                                                           
  IEFC025I INSTALLATION MODIFIED JCL - //PSCRJ053 JOB 12345678,
JOB05060                                                       
2 //CA07RMS  EXEC CA11RMS,                                       
  //    TYPRUN='P'                                               
3 XXCA11RMS PROC TYPRUN=P,OUT='*'                               
  XX*                                                           
  XX************************************************************
  XX*                                                           
  XX*        CA-11 V2.2 RUN MANAGER (RMS) PROCEDURE             
  XX*                                                           
  XX* WARNING: IF YOU HAVE INSTALLED THE CA-DYNAM/TLMS INTERFACE
  XX*          TO CA-11, THEN THE CAIVMFI DD STATEMENT IS NEEDED
  XX*                                                           
  XX************************************************************
  XX*                                                           
4 XXRMS@20   EXEC PGM=U11RMS,PARM='&TYPRUN'                     
  IEFC653I SUBSTITUTION JCL - PGM=U11RMS,PARM='P'               
5 XXSTEPLIB  DD  DSN=DC.CA11.R22.LOAD,DISP=SHR                   
6 XXRMSRPT   DD  SYSOUT=&OUT                                     
  IEFC653I SUBSTITUTION JCL - SYSOUT=*
7 XXSYSUDUMP DD  SYSOUT=&OUT                   
  //*JCLLIB=PS.CA7.JCLLIB                       
  IEFC653I SUBSTITUTION JCL - SYSOUT=*         
8 //JOBLIB  DD   DSN=PS.CA7.LINKLIB,DISP=SHR
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jul 08, 2005 10:41 am    Post subject: Reply with quote

Samuel,

You need to add the JOBLIB dataset as a part of the permanent datasets in CA-7. JOBLIB, STEPLIB, SORTLIB, STEPCAT, JOBCAT are all reserved DD names.Reserved ddnames reside in the SASSPMDD table. Names can be added or deleted as necessary to satisfy the needs of the user. so add your Joblib DSN to the table and you should be fine with INSERT-RMS stuff.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Samuel
Beginner


Joined: 12 Aug 2004
Posts: 38
Topics: 10

PostPosted: Fri Jul 08, 2005 10:58 am    Post subject: Reply with quote

Kolusu,

In all due respect, other jobs on our system run correctly with the JOBLIB statement...

CA7 simply performs the following statement after the JOBLIB statement:
IEFC001I PROCEDURE CA11RMS WAS EXPANDED USING SYSTEM LIBRARY S

For some reason CA7 is performing this statement after the JOBLIB statement witch leads to 8 IEFC019I MISPLACED JOBLIB STATEMENT.
Are you sure your suggestion will solve the sequencing problem ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Jul 08, 2005 1:04 pm    Post subject: Reply with quote

Quote:

In all due respect, other jobs on our system run correctly with the JOBLIB statement...


Is it the same DSN? You mean to say that all other jobs have the same joblib dd and still running without any problems? If so is RMS step getting inserted in those jobs also?

If the other Jobs are not inserting the RMS step in them then ca-7 systems programmer might have changed DB.1 Panel for INSERT-RMS flag to a 'Y'. So check with them if this as been done recently.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Samuel
Beginner


Joined: 12 Aug 2004
Posts: 38
Topics: 10

PostPosted: Fri Jul 08, 2005 1:36 pm    Post subject: Reply with quote

Kolusu,

The DSN is the same. Yes that is what I am saying. Yes RMS is getting inserted in those jobs, but after the JOBLIB DD statement.

Let me say this. The first time this job ran the following JCL statement were reversed:

//JOBLIB DD DSN=PS.CA7.LINKLIB,DISP=SHR
//MFICHE EXEC PGM=JOBLOG00

That led to the error that I have mentioned. I understand why the error happened that time because the JOBLIB DD statement must be the first JCL statement after the JOB statment.

I don't understand why I got that error after I reversed them.

Then I had them coded in the sequence displayed, and I received the same error.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Jul 09, 2005 5:23 am    Post subject: Reply with quote

Quote:

That led to the error that I have mentioned. I understand why the error happened that time because the JOBLIB DD statement must be the first JCL statement after the JOB statment.

Samuel,

When you first got the error did you flush the Job in Ca-7? i.e PRE-R and PRE-P and then change the JCL?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group