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

How to save edited code in View Mode?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babu_hi

New User


Joined: 11 Apr 2006
Posts: 93

PostPosted: Fri Dec 08, 2006 2:32 pm
Reply with quote

I opened JCL in the View mode,I have edited JCL code now i want to save the Edited Code without quit from the View Mode,Is there any commend for this?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Dec 08, 2006 4:28 pm
Reply with quote

Yes. Try REPLACE member_name

O.
Back to top
View user's profile Send private message
babu_hi

New User


Joined: 11 Apr 2006
Posts: 93

PostPosted: Mon Dec 11, 2006 1:24 pm
Reply with quote

Hi Ofer71.

I tried "REPLACE member_name". But it's not working.
I given this commend "REPL .zf .zl Membername" It's working fine.

regards
Hari
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Dec 11, 2006 3:35 pm
Reply with quote

Because REPLACE requires marking the line with C or M. Using system labels (.ZF = first line, .ZL = last line) causes the whole data to be copied.

O.
Back to top
View user's profile Send private message
Kishore_in_IBM

New User


Joined: 13 Dec 2006
Posts: 5
Location: Mumbai

PostPosted: Thu Dec 14, 2006 1:36 am
Reply with quote

Hi Babu,

Had you tried using VSAVE.Most of the time i will be using this option.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 14, 2006 2:04 am
Reply with quote

What is VSAVE? Is it an editor command?

O.
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Thu Jan 04, 2007 8:08 pm
Reply with quote

i believe VSAVE is only a REXX routine which does the same
REPL .ZF .ZL

In our shop it is like that.
Back to top
View user's profile Send private message
ksannigeri

New User


Joined: 08 Apr 2005
Posts: 18

PostPosted: Thu Jan 11, 2007 4:56 pm
Reply with quote

yes, try to use the command REPLACE .ZF .ZL

And then a screen will appear, where in just put the dataset and the member to be saved.

------
Kiran
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Jan 11, 2007 5:09 pm
Reply with quote

anyway all posted here is not related only to JCL but any other member or file.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Fri Jan 12, 2007 3:07 pm
Reply with quote

Hi

I tried with REPLACE .ZF .ZL .it working fine
Thanks for this posting
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 run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
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