Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is the 'prompt' data for the DSLIST panel stored anywhere?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 102
Location: Switzerland

PostPosted: Tue Dec 06, 2016 4:38 am    Post subject: Is the 'prompt' data for the DSLIST panel stored anywhere?
Reply with quote

Or is otherwise retrievable?
Looking at the DSLIST memberlist screen (3.4 then M).
If I enter a command name of mine in the line command field of the member list and some data in the Prompt field, my command gets the dataset- and member name returned, but not the prompt data.
There are plenty of automatic variables for the dataset list screen, but none for the member list, except from those inherited from the dataset list.
Any ideas of how to pass parameters to a command from the member list screen?
Back to top
View user's profile Send private message

steve-myers

Active User


Joined: 30 Nov 2013
Posts: 477
Location: The Universe

PostPosted: Tue Dec 06, 2016 6:30 am    Post subject:
Reply with quote

I presume you're talking about this -
Code:
           Name     Prompt        Alias-of     Size      TTR     AC   AM   RM
_________ SMF1415                            000042A8   000004   00    31   24
_________ TEMPNAME                           000042A8   00000C   00    31   24

The primary use of the PROMPT here is for the RENAME function, where you supply a new member name. For example -
Code:
           Name     Prompt        Alias-of     Size      TTR     AC   AM   RM
_________ SMF1415                            000042A8   000004   00    31   24
r________ TEMPNAME test                      000042A8   00000C   00    31   24
Just for the H of it I tried one of my commands -
Code:
           Name     Prompt        Alias-of     Size      TTR     AC   AM   RM
_________ SMF1415                            000042A8   000004   00    31   24
lmattr___ TEMPNAME nomap                     000042A8   00000C   00    31   24

The generated command appeared to be lmattr 'data-set-name(TEMPNAME)'

I'd bet a CLIST or Rexx exec could obtain the PROMPT text, or even a properly written line mode command, but there does not seem to be a way to get the prompt text to a command line.
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 102
Location: Switzerland

PostPosted: Tue Dec 06, 2016 4:22 pm    Post subject:
Reply with quote

Hi steve-myers, yes, I am aware of the standard use for the prompt field. My challenge is that I must pass data to a REXX command run from the member list line command field. I have managed to do so by parsing the ZSCREENI variable, but that is clumsy and relies on the screen format not changing.
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
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us