Hi,
I have changed some parameters in JCL using 'C ALL <<string>>'. This command changed some lines in JCL.
Now I have to directly go to that line, don't want to do multiple times F8/page down. Also I don't know the line number. How would I proceed?
Thanks,
Chits
How to locate changed line in JCL
- prino
- Posts: 641
- Joined: Wed Mar 11, 2009 12:22 am
- Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
- Referer: Google
- Location: Vilnius, Lithuania
- Contact:
Re: How to locate changed line in JCL
And what does executing an ISPF editor command on a member have to do with JCL?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
robert.ah.prins @ the.17+Gb.Google thingy
- Stefan
- Posts: 27
- Joined: Tue Aug 21, 2012 3:02 pm
- Skillset: Application development, configuration management, maintaining test environments
- Referer: world wide web
Re: How to locate changed line in JCL
As executing a CHANGE command flags the affected lines with ==CHG> you can use the LOCATE primary command to position to these special lines. Simply type "l chg".
If it is important to check the changes immediately and the number of changes is not so high I would do it in a slightly different way: First issue a "FIND ALL" command. Then enter a simple CHANGE command without using the ALL option. This causes the editor to change the first occurrence of the string and to scroll down the view so that the affected line is the second line on the screen. Now you might inspect the effect of the data change before continuously pressing the F6 key which usually is assigned to the RCHANGE editor command.
If it is important to check the changes immediately and the number of changes is not so high I would do it in a slightly different way: First issue a "FIND ALL" command. Then enter a simple CHANGE command without using the ALL option. This causes the editor to change the first occurrence of the string and to scroll down the view so that the affected line is the second line on the screen. Now you might inspect the effect of the data change before continuously pressing the F6 key which usually is assigned to the RCHANGE editor command.
There are 10 types of people in the world: Those who understand binary, and those who don't.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: How to locate changed line in JCL
An alternate approach:
then
The result is that only your changed lines are shown. You can issue L5 or F5 line commands to see adjacent lines.
Stefan, "FIND ALL" does not do what you imply it does. I think the user should issue RESET in your scenario.
Code: Select all
EX ALL
then
Code: Select all
C 'a' 'b' ALL
The result is that only your changed lines are shown. You can issue L5 or F5 line commands to see adjacent lines.
Stefan, "FIND ALL" does not do what you imply it does. I think the user should issue RESET in your scenario.
Pedro Vera
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4
- 3307
-
by socker_dad
View the latest post
Fri Dec 31, 2021 5:28 am
-
-
comparte two fileds on the same line
by samb01 » Thu Mar 23, 2023 6:27 pm » in DFSORT/ICETOOL/ICEGENER - 2
- 1112
-
by samb01
View the latest post
Thu Mar 23, 2023 9:30 pm
-
-
-
REXX to Edit 3rd Line of all members in PDS
by shiitiizz » Thu Aug 13, 2020 5:21 pm » in CLIST & REXX - 3
- 3740
-
by Pedro
View the latest post
Fri Aug 14, 2020 3:50 am
-
-
-
FORMAT THE FILE SO ALL CHILD UNDER SAME PARENT IN ONE LINE
by azhar » Wed May 31, 2023 4:27 pm » in JCL - 1
- 1772
-
by sergeyken
View the latest post
Thu Jun 01, 2023 3:06 am
-
-
-
Problem in ISPF editor with automatic line break
by aprilgas » Tue Sep 24, 2024 3:24 pm » in TSO & ISPF - 8
- 4003
-
by aprilgas
View the latest post
Fri Sep 27, 2024 3:55 pm
-