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: 111
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: 495
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: 111
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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm


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