Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us