View previous topic :: View next topic
|
Author |
Message |
sreejithpg
New User
Joined: 11 Sep 2009 Posts: 6 Location: india
|
|
|
|
I need to get the Owner of the Main frame ids to a file.
How i can use "TSO WHOIS XXXXXX" command in REXX.
After executing this comman i need to get the owner name to a file |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Contact your site support group to determine if this is possible. Most sites do not associate user ids with files, so it is not possible to determine the "owner name to a file" as there is no data about that. Your site may be different -- but only your site support group can tell you that. |
|
Back to top |
|
|
sreejithpg
New User
Joined: 11 Sep 2009 Posts: 6 Location: india
|
|
|
|
I can use the "TSO WHO IS " command in my TSO region.
I need to execute this command through REXX by giving the ID as in put and need to get the output to a PS Dataset .
Can u please help me in coding this in REXX |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Show us what you have coded so far, and the results and someone will be happy to help,
after all, this is a help forum not a heres's the code forum. |
|
Back to top |
|
|
sreejithpg
New User
Joined: 11 Sep 2009 Posts: 6 Location: india
|
|
|
|
Hi Sir
My code is below
//JFBR11 EXEC PGM=IKJEFT01
/ISPLOG DD DUMMY,DCB=(RECFM=VBA,LRECL=125,BLKSIZE=27944)
//ISPPROF DD DSN=&&PROFILE,
// DISP=(,DELETE,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1,1),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//ISPPLIB DD DISP=SHR,DSN=SYS1.SISPPENU
//ISPMLIB DD DISP=SHR,DSN=SYS1.SISPMENU
//ISPTLIB DD DISP=SHR,DSN=SYS1.SISPTENU
//ISPSLIB DD DISP=SHR,DSN=SYS1.SISPSENU
//SYSTSPRT DD DSN=AXSSN.OUT.OUT.PRT1,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,SPACE=(TRK,(200,20),RLSE),
// DCB=(RECFM=FBA,LRECL=121,BLKSIZE=0)
//*YSTSIN DD *
//SYSTSIN DD *
ISPSTART CMD(WHOIS NXXXXHS)
/*
//
The code command "WHOIS NXXXXHS" gives the name of the User ID in my TSO region. But giving the following error while running in Batch.
ISPSTART CMD(WHOIS NXXXXHS) NEWAPPL(BAT)
COMMAND WHOIS NOT FOUND
ISPD123 Invalid command
Command 'WHOIS' not found or contains invalid syntax. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
So where is the SYSEXEC or SYSPROC DD statement that contains the code for the CMD invoked |
|
Back to top |
|
|
|