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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm


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