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 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 What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am


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