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: 4649
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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