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
 
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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

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