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
 
Execute TSO ACF commands from COBOL-IMS online

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
supreethi.srid

New User


Joined: 15 Oct 2009
Posts: 5
Location: Chennai,India

PostPosted: Tue Feb 21, 2017 5:19 pm    Post subject: Execute TSO ACF commands from COBOL-IMS online
Reply with quote

I am trying to execute a TSO ACF command from COBOL for resetting expired password for a user from IMS online.

Trying two ways,
1. I'm looking at using IKJTSOEV and TSOLNK to link to TSO ACF command and thereby issue sub-commands.
2. I see the other way is using the INTRDR to submit the job. Here I would need to capture the result (whether password is reset or any other warning) of the spawned job, somehow this approach seems to be tedious.

Proceeding with Option 1:

I am trying to execute a sample TSO command from IMS-online- a sample TSOLNK to allocate a new dataset. As a start, I am able to set the environment.

Next time, I now get the TSO function return code as 16 (environment already set) while executing IKJTSOEV. So, I continue to execute IKJEFTSR.

Now, I am stuck here trying to execute TSOLNK for ALLOC command :
FUNCTION RETURN CODE - 000000012
FUNCTION REASON CODE - 00000000J
FUNCTION ABEND CODE - 00000000J
Currently I've passed this flag combination - X'00010001' for TSO ALLOC

Please provide help in getting past this.

Option 2 : Is this a better option to deal with, than the earlier one?

Too many questions here, sorry about that.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

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