View previous topic :: View next topic |
Author |
Message |
himanshoo_seth Beginner
Joined: 18 Oct 2005 Posts: 4 Topics: 4
|
Posted: Wed Nov 16, 2005 10:00 am Post subject: accessing TSO command line thru REXX |
|
|
hi
how can I access TSO command line thru rexx.
i need to go 3.14 in TSO in the REXX code.
how can i do that?
regards
himanshoo seth _________________ Himanshoo Seth |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Wed Nov 16, 2005 10:14 am Post subject: |
|
|
If you're trying to get to the SRCHFOR panel, you could try:
ISPEXEC SELECT PGM(ISRSFM) _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
|
Ravi Beginner
Joined: 27 Jun 2005 Posts: 88 Topics: 2
|
Posted: Wed Nov 16, 2005 10:33 am Post subject: |
|
|
Just another idea.
In ISPF Primary Option Menu Choose 0 Settings.
Now select Function keys in the Menu bar
Select 1. Non-Keylist PF Key settings
Press ENTER key to display alternate keys
For PF13 to PF24. . Instead of HELP, SPLIT give 3.14 for any one of the PF Keys (Say PF24).
Now if you press SHIFT F12 in your regular PC keyboard, you will be directly invoking the Search-For Utility.
Cool Mervyn!! You solved the problem. |
|
Back to top |
|
|
saro Beginner
Joined: 20 Aug 2005 Posts: 11 Topics: 1 Location: chennai
|
Posted: Tue Dec 20, 2005 7:49 am Post subject: |
|
|
Mervyn,
This is similar to the question in this thread,but my requirement is different.
my req is,
I want to extract the output of a TSO command which i execute on the command line.
This is the exact senario,
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Menu Options View Utilities Compilers Help
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
Command ===> Scroll ===> CSR
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
whohas Userid.xxxxx.yyyyy.zzzz *VSAM*
Userid.xxxxx.yyyyy.zzzz.DATA P00011+
Userid.xxxxx.yyyyy.zzzz.INDEX P00011+
***************************** End of Data Set list ****************************
I hit enter typing whohas against the file name.
where WHOHAS is thh command to find who is holding the file currently
and the result TSO issus on screen is
SYS2 >CICS holds SYSDSN SHR: Userid.xxxxx.yyyyy.zzzz ***
PLease help me in knowing how to bring this thro rexx..(i.e) this TSO command should be executed thro rexx and the result should be stored in a dataset or returned to the exec itself.
Thanks in advance. _________________ Saro
Nothing is great unless God. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Dec 20, 2005 2:08 pm Post subject: |
|
|
You'd be better off using a utility that is meant to be called by rexx. Check the ISPF QUERYENQ service. It will give you the information in a form that Rexx can understand without resorting to an unsupported or local command like WHOHAS. |
|
Back to top |
|
|
saro Beginner
Joined: 20 Aug 2005 Posts: 11 Topics: 1 Location: chennai
|
Posted: Thu Dec 22, 2005 9:13 am Post subject: Thank you |
|
|
Kolusu and geezer,
Thanks for your suggestions.I have done it through OUTTRAP.It works.. _________________ Saro
Nothing is great unless God. |
|
Back to top |
|
|
|
|