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
 

 

how to execute TSO USERID command using a JCL ?

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

New User


Joined: 11 May 2007
Posts: 11
Location: India

PostPosted: Mon Feb 25, 2008 9:34 pm    Post subject: how to execute TSO USERID command using a JCL ?
Reply with quote

Hi All,

Can anyone tell me please how to execute TSO USERID command using a JCL in batch mode?

I had tried it using IKJEFT01 utility but showing msg "COMMAND USERID NOT FOUND"

this is the JCL:

//ZCS0331R JOB MAINT023,'TSO IN BATCH',
// CLASS=T,MSGCLASS=T,MSGLEVEL=(1,1),
// REGION=8M,
// NOTIFY=&SYSUID
//STEP1 EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD *
USERID ZCS0331
/*
//
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Mon Feb 25, 2008 9:59 pm    Post subject: Reply to: how to execute TSO USERID command using a JCL ?
Reply with quote

If you can do a TSO USERID ZCS0331 on the command line in TSO and get results, however, when you run it in batch you get "NOT FOUND", you probably need to use this JCL setup:

Code:

//REXX   EXEC PGM=IKJEFT01                 
//SYSTSPRT DD  SYSOUT=*                                       
//SYSEXEC  DD  DSN=HLQ.REXX.LIBRARY.HERE,DISP=SHR               
//SYSPROC  DD  DSN=HLQ.REXX.LIBRARY.HERE,DISP=SHR               
//SYSPRINT DD  SYSOUT=*                                       
//SORTMSG  DD  SYSOUT=*                                       
//SYSOUT   DD  SYSOUT=*                                       
//OUTPUT   DD  SYSOUT=*                                       
//LISTOUT  DD  SYSOUT=*                                       
//SYSTSIN  DD  *                                             


THE SYSEXEC/SYSPROC should be the library where the USERID REXX program exists.


If you don't know the library, enter the following commands on the command line one at a time.

Code:

TSO ISRDDN
MEMBER USERID


That should help you locate where the USERID REXX program exists.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Mon Feb 25, 2008 10:01 pm    Post subject: What??
Reply with quote

I've never heard of this command. Could it be a special command at your site? If so, you may need a special STEPLIB, SYSPROC, or SYSEXEC.

Use TSO command ISRDDN to see what libraries are in your TSO session, then do command M USERID to search for the command in the various libraries.
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts COMPARE command sivatechdrive TSO/ISPF 7 Fri Sep 16, 2016 4:31 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


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