IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Save a dataset in View mode


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 459
Location: Belgium

PostPosted: Sun Aug 20, 2006 1:13 am
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
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: 2358
Location: Israel

PostPosted: Sun Aug 20, 2006 12:49 pm
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
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts SET PATH in View DDL DB2 2
Search our Forums:

Back to Top