We can edit a JCL file in ISPF when we open a file in edit mode. Is is possible to edit a file in view mode ?
Asked
Active
Viewed 1,164 times
1
-
What do you mean "view mode in JCL", are you talking about "ispf view" or some thing else or are you talking about view ??? – Bruce Martin Jan 20 '15 at 21:22
-
yes Bruce, I am talking about ISPF view mode ... – Goyal Jan 21 '15 at 02:48
-
So you are viewing a JCL file then ?? – Bruce Martin Jan 21 '15 at 03:10
-
i want to edit and save it, in view mode only ... – Goyal Jan 21 '15 at 03:14
-
Why not use edit in the first place ???, if you only have view available, there is probably a reason for that !!! – Bruce Martin Jan 21 '15 at 03:58
-
Does this have anything to do with JCL, or can I edit those references out? It seems to be a fairly straighforward ISPF question. – dsolimano Jan 21 '15 at 14:23
1 Answers
6
View is basically Edit with out the save command.
You can still use Replace command to over right a dataset/member with what you are editing (provided you have access and you are viewing an actual Dataset). You may need to put c9999 in the line-number on the first line of the File.
Alternatively you could:
- Use the Cut command (put c9999 in the line-number on the first line)
- enter the edit command
- delete the contents
- do a paste
- save and exit
- exit view
Why not simply edit the JCL in the first place ???
Bruce Martin
- 9,845
- 1
- 24
- 36
-
thanks it works for me .... And I found a alternative also 'REPLACE .ZF .ZL(MEMBER_NAME)' ... – Goyal Jan 21 '15 at 05:00
-
1