MOVE 123 TO NUMERIC-ITEM.
MOVE "123" TO NUMERIC-ITEM.
when the variable NUMERIC-ITEM is defined numeric.
Also whats the difference between
MOVE HIGH-VALUES TO .....
MOVE LOW-VALUES TO ......
Please clarify
yep, we have Expediter a our disposal too. I rarely use it, since i do mostly batch work, and it's my opinion that Expediter doesn't add much when it comes to batch.
It takes quite a bit of pain to set up, especially when processing multiple files, so most of the time i use displays to zoom in on the problem when it occurs. However, for online programs, espcially those with no screen processing, it can be a very helpful tool.
For batch program debugging, we do use Abend-Aid a lot, which helps to form job output into well readable reports, supplies probable causes for most abends, and gives additional information to help solve a problem (detailed information on the files used, information to help locate a field in error - very useful for s(0C7)'s ! - etc).
Just out of curiosity, how does Xpeditor for batch work? Because in online processing, Xpeditor and InterTest depend upon stepping through your commands and/or setting break points. Will/can Xpeditor do this in a batch job, or is it simply some sort of fancy "set test displays" tool?
I have Abend-Aid here if I ever do any batch programming. Plus of couse Xpeditor for batch.
Expediter works exactly the same for batch as it does for online, that is, stepping through the source, setting break points, direct access to all fields, etc.
The main difference is setting it up, since batch programs are normally controlled by some sort of job control. Expediter has to mimick this, so there is a setup section to link all files needed to the test session, and you'll have to do some more setups.
I find a couple of displays easier ...
Where I now work, in our online programming , we have to compile and link the program, then run another job in order to set up a "PROTSYM" for each program in order to run InterTest on it. And we have to do this each day, as the system deletes these Protsyms each day.
But InterTest (or Xpediter or whatever) are invaluable for online debugging. And we use it for monitoring because a single CICS abend happening at the wrong place at the wrong time can pull down a whole region or even the entire system.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.