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 edited code in View Mode?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to save edited code in View Mode?
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: 2360
Location: Israel

PostPosted: Fri Dec 08, 2006 4:28 pm    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Mon Dec 11, 2006 3:35 pm    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Dec 14, 2006 2:04 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm


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