IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IKJEFTSR return code= 20 , reason code=68


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Thu Dec 11, 2008 1:07 am
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: 2358
Location: Israel

PostPosted: Thu Dec 11, 2008 11:23 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top