Posted: Fri Jul 08, 2005 10:09 am Post subject: How does CA7 determine where to insert "it's JCL"
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
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
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Fri Jul 08, 2005 10:41 am Post subject:
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.
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 ?
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Fri Jul 08, 2005 1:04 pm Post subject:
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.
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.
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Sat Jul 09, 2005 5:23 am Post subject:
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?
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