Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 175
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 Member


Joined: 30 Nov 2013
Posts: 586
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: 175
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 Extract record for change in combinat... Trinadh DFSORT/ICETOOL 5 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
This topic is locked: you cannot edit posts or make replies. Can a alphanumeric data be moved to a... nico_neoz COBOL Programming 10 Mon Oct 30, 2017 8:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us