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 EXIT or RETURN cvnlynn CLIST & REXX 13 Wed Jul 19, 2017 2:50 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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