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
 

 

How to save in view Mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
richie

New User


Joined: 11 Jun 2005
Posts: 24

PostPosted: Tue Nov 22, 2005 12:00 pm    Post subject: How to save in view Mode
Reply with quote

Please tell me the command to save the changes in View Mode.
Back to top
View user's profile Send private message

sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Tue Nov 22, 2005 3:02 pm    Post subject: Re: save in view Mode
Reply with quote

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
View user's profile Send private message
Phantom

New User


Joined: 04 Sep 2005
Posts: 25

PostPosted: Tue Nov 22, 2005 3:47 pm    Post subject:
Reply with quote

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
View user's profile Send private message
UMAPATHY MARGABANDU

New User


Joined: 24 Jan 2011
Posts: 3
Location: india

PostPosted: Mon Jan 24, 2011 9:41 pm    Post subject: Reply to: How to save in view Mode
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7936
Location: Bellevue, IA

PostPosted: Mon Jan 24, 2011 9:50 pm    Post subject:
Reply with quote

UMAPATHY MARGABANDU, any particular reason you decided -- AFTER MORE THAN 5 YEARS -- to basically replicate the information already provided?
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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm
No new posts Report view in Mobile devices Robert Sample All Other Mainframe Topics 0 Thu Jun 23, 2016 7:05 pm


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