One way to debug execution of the Auto Forms Control jobs is to look into the joblog of the specific job. You can do that with the command, WRKACTJOB SBS(AUTO_FORM) or via option 12. Work with active subsystem AUTO_FORM on the Auto Forms Control menu.
For the specific job you can now use options:
5=Work with job
10. Display job log, if active, on job queue, or pending
To view the joblog of the actual AFC job. (F10 includes details and F18 moves to the bottom).
If you want to include a much information in the joblog as possible you can change the job with option 2 (from WRKACTJOB) and change the LOG and LOGCLPGM options like below:
Change Job (CHGJOB)
Type choices, press Enter.
Message logging: Level . . . . . . . . . . . . 4 0-4, *SAME Severity . . . . . . . . . . . 00 0-99, *SAME Text . . . . . . . . . . . . . > *SECLVL *SAME, *MSG, *SECLVL, *NOLIST Log CL program commands . . . . > *YES *SAME, *NO, *YES Job log output . . . . . . . . . *JOBEND *SAME, *SYSVAL, *JOBLOGSVR... Job message queue full action . *WRAP *SAME, *SYSVAL, *NOWRAP... Inquiry message reply . . . . . *RQD *SAME, *RQD, *DFT, *SYSRPYL Break message handling . . . . . *NORMAL *SAME, *NORMAL, *NOTIFY... Status message . . . . . . . . . *NORMAL *SAME, *USRPRF, *SYSVAL... DDM conversation . . . . . . . . *KEEP *SAME, *KEEP, *DROP Schedule date . . . . . . . . . *SAME Date, *SAME, *CURRENT... Schedule time . . . . . . . . . *SAME Time, *SAME, *CURRENT Job date . . . . . . . . . . . . 060718 Date, *SAME Date format . . . . . . . . . . *DMY *SAME, *SYSVAL, *YMD, *MDY... Date separator . . . . . . . . . '/' *SAME, *SYSVAL, *BLANK, /... More... F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
|
This will not only include the normal, additional information, but it will also tell InterForm400 to include a lot more information in the joblog.