View previous topic :: View next topic
|
Author |
Message |
richie
New User
Joined: 11 Jun 2005 Posts: 24
|
|
|
|
Please tell me the command to save the changes in View Mode. |
|
Back to top |
|
|
sridevi2005
New User
Joined: 15 Sep 2005 Posts: 42
|
|
|
|
Hi,
To save the data in view mode use the following command.
Rep .zf .zl member name
OR
replace .zf .zl member name.
Thanks,
Sridevi |
|
Back to top |
|
|
Phantom
New User
Joined: 04 Sep 2005 Posts: 25
|
|
|
|
Richie,
Lazy Guys like Me! don't have the patience to type "REPL .ZF .ZL xxxxx". Instead I have coded a small REXX Macro with the Name "VSAVE" as shown below. This will take care of both PS as well as PDS-Member.
Now, I just have to use VSAVE instead of the ISPF Save command to save the code in View mode.
Code: |
/* EDIT MACRO */
/* This macro can be used to save a member/PS in VIEW mode */
"ISREDIT MACRO"
"ISREDIT (DataSet) = DATASET"
"ISREDIT (Member) = MEMBER"
DataSet="'"||DataSet||"'"
IF Member = '' THEN
"ISREDIT replace .zf .zl "DataSet
ELSE
"ISREDIT replace .zf .zl "Member
|
Hope this helps,
Thanks,
Phantom |
|
Back to top |
|
|
UMAPATHY MARGABANDU
New User
Joined: 24 Jan 2011 Posts: 3 Location: india
|
|
|
|
Hi All,
Most of them think that it is not possible to save to view mode. But in Mainframes, we are having option to save in view mode also.
Use the following Command in the command line ====>
1. REPL .ZF .ZL <ENTER>
2. Enter the name of the dataset along with the member name.
For Example, 'TRGR47.SAMPLE.PROGRAMS(ADDITION)'
3. Press <ENTER>
4. It will show the confirmation that the dataset is changed.
Explanation :
REPL -> REPLACE
.ZF -> FROM FIRST
.ZL -> FROM LAST |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
UMAPATHY MARGABANDU, any particular reason you decided -- AFTER MORE THAN 5 YEARS -- to basically replicate the information already provided? |
|
Back to top |
|
|
|