View previous topic :: View next topic
|
Author |
Message |
Oil Can Ed
New User
Joined: 03 Aug 2006 Posts: 4 Location: Colorado
|
|
|
|
How does one invoke the SPF editor from a clist, and pass the dataset name as well, so that the user goes from TSO READY, right into the edit session?
thanks |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
While editing your CLIST, retrieve the ISPF EDIT CLIST Models. In Miscellaneous, select M4 EDIT. Use the code sample that best meets your requirement(s).
As an alternative, use the examples provided here in the z/OS V1R7.0 ISPF Services Guide. |
|
Back to top |
|
|
Oil Can Ed
New User
Joined: 03 Aug 2006 Posts: 4 Location: Colorado
|
|
|
|
superk, thanks kindly for the response. Please bear with me here. I have attempted to call ISPEXEC from the CLIST while in native TSO, and I receive a message: valid ISPF environment does not exist. I am at a loss about how to look at the 'models' while editing the CLIST: it is an unfamiliar command, or operation. Can you illuminate?
Much Thanks,
Ed |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
My bad. I missed the part in your original post that states that you need to do this from the TSO READY prompt. You need to start ISPF first, then you can invoke EDIT (or any other service). The ISPSTART command is documented here in the z/OS V1R7.0 ISPF Dialog Developer's Guide.
The ISPF EDIT models are, of course, only available within ISPF EDIT. I guess you can forget about that suggestion at this point. |
|
Back to top |
|
|
Oil Can Ed
New User
Joined: 03 Aug 2006 Posts: 4 Location: Colorado
|
|
|
|
Thanks for the help!
Oil Can Ed |
|
Back to top |
|
|
|