View previous topic :: View next topic
|
Author |
Message |
san_icse Currently Banned New User
Joined: 11 May 2007 Posts: 11 Location: India
|
|
|
|
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 |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
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 |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
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 |
|
|
|