MacKinney Systems, Inc.

Interactive debugging for batch

Xray

AEY9 abend in Xray

Q:

How do you resolve an AEY9 abend in Xray?


A:

Check the following:
      1. Group DFHISC must be installed.
      2. ISC=YES must be set in the SIT (or in the CICS start-up override)

Copy Source and Link data

Q:

How can you get source & Link data from one system to another?


A:

Exec program XRAYSMNT with the COPY parameter

Exiting debugging session

Q:

How can I exit my debug session after I've finished testing?


A:

You can exit is one of the following ways:

  1. Enter a 'C' (continue) on the last statement in his program (i.e. RETURN or GOBACK) .This is basically a GO TO statement.
  2. Press PF12. This will continue normal execution until the end of job or stops if a problem is encountered. You may want to enter HALT=OFF for the Command and ALL for the offset to remove all halts before pressing PF12.
  3. Enter CANCEL to immediately cancel execution (abnormally).

Instruction limit option

Q:

I have a question regarding the instruction limit option.
 
Whenever we have connected to source that was submitted we always have to pf3 twice, choose option 'S" and then choose option '2' and type 9 zeros to allow unlimited instructions otherwise we will get kicked out for going over the instruction limit. Is there a way we can change the default to be set to unlimited instructions from the start?


A:

You may set unlimited instructions for any Xray job if you wish. You can update the Xray control file (XRAYICTL) to do this.  You will need to change the INSTLIMIT to INSTLIMIT=0 to suppress instruction limit checking.  This will remove any instruction limit checking for anyone who uses Xray.
 
Alternatively, if you wish to only suppress with checking for your program,  you can issue the command to suppress from the command line as soon as you begin a debug session. Just enter on the command line "ILIM=0".  This will suppress checking for the duration of your debug session.

Setting halts

Q:

I'm trying to set Halts in my program, but all the line numbers are protected.


A:

You need to have an active debug session before halts can be set.