How to locate changed line in JCL



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

How to locate changed line in JCL

Postby Chits » Mon Oct 14, 2013 12:35 pm

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
Chits
 
Posts: 8
Joined: Wed Oct 02, 2013 12:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: How to locate changed line in JCL

 

Re: How to locate changed line in JCL

Postby prino » Mon Oct 14, 2013 1:31 pm

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
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: How to locate changed line in JCL

Postby Stefan » Mon Oct 14, 2013 3:09 pm

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.
There are 10 types of people in the world: Those who understand binary, and those who don't.
User avatar
Stefan
 
Posts: 27
Joined: Tue Aug 21, 2012 3:02 pm
Has thanked: 0 time
Been thanked: 2 times

Re: How to locate changed line in JCL

Postby Pedro » Tue Oct 15, 2013 1:05 am

An alternate approach:

then
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
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post