2

I've been editing and testing JCL for sometime without doing a save under ISPF Edit. I changed something and the JCL now fails (JCL Error). I know I can look in the jobs sysout using SDSF but is there a way to find out what I changed while in ISPF Edit?

Lionel B Dyck
  • 552
  • 2
  • 9

2 Answers2

4

There are two answers:

  1. Providing you have not issued a Edit SAVE command then you can enter compare * x to see the records removed, added, or changed. If you have performed a SAVE then this will not be possible.

  2. If, and I highly recommended, you are using PDSE member generations and using the open-source PDSEGEN tool (https://github.com/lbdyck/pdsedgen), then you can issue a compare -n where 'n' is a previous generation.

hope this helps

Lionel B Dyck
  • 552
  • 2
  • 9
1

For #2 - Or if you avoid PDSE's like I do, the CBT Tape PDS command has the RESTORE function where you can often find the previous member.

Tom Brennan
  • 156
  • 1
  • 3