View previous topic :: View next topic
|
Author |
Message |
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
Hello,
When I type "TSO PROFILE" in command line below is the screen that appears,
CHAR(0) LINE(0) PROMPT INTERCOM PAUSE MSGID MODE WTPMS
G NORECOVER PREFIX(Mainframe ID) PLANGUAGE(ENU) SLANGUAGE(ENU) VARSTORAGE(LOW)
I want Change the profile paremeter PROMPT to NOPROMPT from Rexx code.
Is it possible? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Yes.
"PROFILE NOPROMPT" |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Issue below TSO command (using REXX for your case)
Code: |
TSO PROFILE NOPROMPT
|
Now if you issue TSO PROFILE you could see updated profile. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You should also read section titled "Interaction of Three Ways to Affect Prompting" in the rexx reference manual.
I am leary of global changes. Your intent was not clear, but you may be able to accomplish your goal through the use of the prompt function:
Code: |
status = PROMPT("OFF") |
|
|
Back to top |
|
|
Elixir
Active User
Joined: 08 Feb 2009 Posts: 116 Location: CHENNAI/NEW JERSEY - INDIA/USA
|
|
|
|
I intended to set the NOPROMPT in my current profile through REXX.
This was achieved using
ADDRESS TSO "PROFILE NOPROMPT"
Thanks for the showing another approach. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
I intended to set the NOPROMPT in my current profile through REXX. |
Running with NOPROMPT may have unintended consequences. And it normally retains the setting even after logging off / on until you change it back.
I understand the NOPROMPT part and I understand the profile part. I am not sure I understand the requirement for rexx.
If it is a one time thing and you are going to just set your profile to noprompt, you do not need rexx. But the use of rexx implies to me that you may have to do it repeatedly. And if you are turning it on and off repeatedly, then maybe the PROMPT( ) function is better suited for your needs. |
|
Back to top |
|
|
|