View previous topic :: View next topic
|
Author |
Message |
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi All,
I wanted to submit a job from another job using IKJEFT01. Please see the code below.
Code: |
// IF RC < 1 THEN
//SCHSTEP EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
SUB 'MYID.TESTING.TOOL1(PARMS)'
|
I used the above code in one of my JCL. when I submitted it, the first step executed successfully and the above step gave MAXCC12. when i checked the spool, i can find the below message.
Code: |
SUB ENDED DUE TO ERROR, SYSTEM ABEND CODE 913
|
Then I searched the forum and found that a job can be submitted through another JCL in the following ways also.
Code: |
//SUB01 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=MYID.TESTING.TOOL(PARMS),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR),DCB=(LRECL=80,BLKSIZE=80)
|
When i submitted the job,it got abended because of authorization.
Code: |
Job Submit/ACID Authorization Denied. ACID <NB> Not Authorized for Your Use
SUB01 - ABEND=S913 U0000 REASON=00000000 254
|
Same is the case when I used IEBEDIT.
Code: |
//SUBPD30 EXEC PGM=IEBEDIT,COND=(0,LT)
//SYSPRINT DD DUMMY
//SYSUT1 DD DSN=MYID.TESTING.TOOL1(PARMS),
// UNIT=DISK,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR),LRECL=80,DCB=BLKSIZE=80
//SYSIN DD DUMMY
|
What should i do to overcome this abend? Please help.
Thanks
Agni. |
|
Back to top |
|
|
rajaherein
New User
Joined: 11 Jan 2007 Posts: 23 Location: chennai
|
|
|
|
Check whether your second job(member) is in the same PDS as of the Primary job. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
Check whether your second job(member) is in the same PDS as of the Primary job. |
Why - It does not matter where the submitted JCL is stored, just as long as the submitter has RACF authority to access the dataset.
The S913 should tell you on which dataset or resource the security violation is happening with.
It may be that your shop has decided that using the INTRDR is not allowed and has used RACF to stop people from doing this type of job submission. |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi Expat,
But in the first example i didn't use INTRDR, if you see.
Thanks
Agni |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I'd suggest you talk with your system support people or your security people. I believe there is more diagnostic info that has not been posted.
I suspect that submitting jobs is restricted on your system, but the suport or security people can tell how to proceed (if possible). |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
Use of the SUBMIT command in REXX or the INTRDR in JCL uses the same security path to see if you have authority. It is obvious from your post that your office uses TOP SECRET as opposed to RACF or ACF2. Dick's suggestion to speak to your Security Administrators is the right course of action. Only they can decide if your company or area can submit jobs remotely. |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Let me talk with my security people. Thanks all.
Regards
Agni |
|
Back to top |
|
|
|