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
 
How to Save a dataset in View mode

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gm_rajsek
Currently Banned

New User


Joined: 02 Aug 2006
Posts: 1
Location: Chennai

PostPosted: Sat Aug 19, 2006 11:58 pm    Post subject: How to Save a dataset in View mode
Reply with quote

If i open a dataset in View mode, make some changes, is it possible to save it.

/?????????

Raj
Back to top
View user's profile Send private message

PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Sun Aug 20, 2006 1:13 am    Post subject:
Reply with quote

No possibility to save inline.
But you can, after modifications, type in first line on the numbering zone C99999 or CC on first and CC on last lines then in command line CREATE, give a new name with same attributes ( that will be asked for ) save, and get out the original file by CANCEL.
Then rename, delete etc...

Cheers
Pierre
Back to top
View user's profile Send private message
Aditya Bhardwaj
Warnings : 1

New User


Joined: 02 Nov 2004
Posts: 18
Location: Noida, India

PostPosted: Sun Aug 20, 2006 1:38 am    Post subject: Re: How to Save a dataset in View mode
Reply with quote

If this the case of the Physical Sequenced organization (member) of some Partitioned dataset, write REPLACE NEWMEMBERNAME and change 000001 (the very first line of the member) Line number with C99999. This will update the changes.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Aug 20, 2006 12:49 pm    Post subject:
Reply with quote

You can REPLACE the member itself, since you are in VIEW mode. Just use the command REPLACE member_name, mark the first line with C99999, and you'll see the message 'MEMBER member_name REPLACED'. After the message shows, you can CANCEL and return to the list of members.

O.
Back to top
View user's profile Send private message
Aditya Bhardwaj
Warnings : 1

New User


Joined: 02 Nov 2004
Posts: 18
Location: Noida, India

PostPosted: Sun Aug 20, 2006 7:27 pm    Post subject: Re: How to Save a dataset in View mode
Reply with quote

Apology not to be that much clear in my previous note.

Thanks O for covering this as well.
Back to top
View user's profile Send private message
sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Mon Aug 21, 2006 4:18 pm    Post subject: Re: How to Save a dataset in View mode
Reply with quote

Yes,

You can save the contents of the dataset by replacing it by using following command.

REPL .ZF .ZL 'NAME OF THE MEMBER'

It will be replaced once you press Enter.

Regards
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Thu Aug 31, 2006 3:20 pm    Post subject: Re: How to Save a dataset in View mode
Reply with quote

gm_rajsek wrote:
If i open a dataset in View mode, make some changes, is it possible to save it.

/?????????

Raj


just type RP after making the changes in view mode and press enter.
Back to top
View user's profile Send private message
saladjonk

New User


Joined: 08 Sep 2006
Posts: 2
Location: China

PostPosted: Sun Sep 17, 2006 8:28 am    Post subject: Re: How to Save a dataset in View mode
Reply with quote

I think it should be what sihanature had said.
Back to top
View user's profile Send private message
shankarravi1984
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 9
Location: pune

PostPosted: Sun Sep 17, 2006 2:14 pm    Post subject: Re: How to Save a dataset in View mode
Reply with quote

use RP command to save the changes in view mode


Thanks,
Sankar
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Mon Sep 18, 2006 12:26 pm    Post subject:
Reply with quote

Hi All,

what does RP mean ?

Enjoy,
Neelesh
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Mon Sep 18, 2006 3:09 pm    Post subject:
Reply with quote

neelesht wrote:
Hi All,

what does RP mean ?

Enjoy,
Neelesh


RP for Replace.It is a macro.
In our shop RP will do the work of replace .zf .zl
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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