Author: steve-myers
Posted: Tue Dec 06, 2016 6:30 am (GMT 5.5)
I presume you're talking about this -
The primary use of the PROMPT here is for the RENAME function, where you supply a new member name. For example -
Just for the H of it I tried one of my commands -
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.
Posted: Tue Dec 06, 2016 6:30 am (GMT 5.5)
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 |
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.