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
 

 

IKJEFTSR return code= 20 , reason code=68

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
galecra

New User


Joined: 11 Sep 2006
Posts: 33

PostPosted: Wed Dec 10, 2008 5:30 pm    Post subject: IKJEFTSR return code= 20 , reason code=68
Reply with quote

Hi,
I'm trying to run a TSO command(exec, alloc, whatever) inside a PL1 program. First I call IKJTSOEV (with no errors) and then I call IKJEFTSR but I'm getting return code = 20 , reason code = 68 and message IKJ56637I:
IKJ56637I You attempted to run a command, program, CLIST, or REXX exec
from an authorized environment. This is not supported under the
dynamic TSO/E environment.

Explanation: You are running in an address space with a TSO/E environment
created by the TSO/E environment service. You asked to use the TSO/E
service facility to invoke a command, program, CLIST, or REXX exec from an
authorized TSO/E environment. This function is not available in this
environment.

System Action: This message is issued with an accompanying return code
from the TSO/E service facility. The return code is 20 and the reason code
is 68 from the TSO/E service facility.

What does this message exactly means?, what shoul dbe changed to be able to call TSO commands thru a batch program?

Thanks!
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: Thu Dec 11, 2008 1:07 am    Post subject:
Reply with quote

Hello,

Quote:
What does this message exactly means?


Whatever you are trying to do apears to be APF authorized - which is not available to the environment where you are trying to do this. . .

You might try to start the tso envieonment in batch, then invoke your program and see what happens. This is not somthing that i've done, but thought it might be worth a try.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Dec 11, 2008 11:23 am    Post subject:
Reply with quote

You can learn more about IKJEFTSR's authorization in the fine manual.

O.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am
No new posts IDEAL - Code Retrieval yugendran CA Products 0 Fri Nov 25, 2016 3:27 pm


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