Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Please help me to use the IKJEFTSR utility in COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Prasun De

New User


Joined: 17 Jan 2008
Posts: 28
Location: Kolkata, INDIA

PostPosted: Tue Apr 29, 2008 3:18 pm    Post subject: Please help me to use the IKJEFTSR utility in COBOL
Reply with quote

Hello,

I have taken a code from this forum to execute TSO command from a COBOL program.

http://ibmmainframes.com/viewtopic.php?t=3194&highlight=ikjeftsr

It worked fine with the given ALLOCATE command.

But when I am changing it to a submit command like
"SUB 'USERID.JOBLIB(JOB01)'", the IKJEFTSR utility is getting a return code = 12 & REASON CODE = J.

Could you please help me to understand this error.

Thanks & Regards
Prasun De
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 29, 2008 8:02 pm    Post subject:
Reply with quote

Hello,

Please post the jcl you used to run your code. Also, post any diagnostic info presented by the execution - from any of the jes outputs.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Apr 29, 2008 9:34 pm    Post subject: Reply to: Please help me to use the IKJEFTSR utility in COBO
Reply with quote

I also attempted to do what you're trying to do and I got the same error message. I can't find a definite answer, but it appears that certain "authorized" TSO commands will not work under the IKJEFTSR environment. SUBMIT appears to be one of them, like STATUS, OUTPUT, XMIT, and RECEIVE. You might be able to invoke a CLIST or REXX exec, which could in turn submit the designated job.

As an alternative, can you use ISPF Services for File Tailoring and take advantage of skeleton JCL, or can you just write your JCL directly to the Internal Reader for submission instead?
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us