I got a requirement and previously they evaluate the input field ‘fund’ and used to populate it to the host variable of ‘fund’ of table X.
Now the requirement is to get it from a table ‘Y ‘instead of file. And using this field they will be fetching some data for table Z.
In the same program asked us to make some other change also: based on the various process codes (ex: ‘a’ or ‘b’ or ‘c’) they will be populating asset from A table.
Now the change is other than product codes ‘a’ or ‘b’ or ‘c’ in the else part we need to include ‘d’ or ‘e’ to get the asset from the A table using different where condition.
Now when I have done these changes and ran the job, encountering S322 abend. to overcome this system issue i have introduced time parameter in the JCL and ran, but this is taking much time (yest I submitted the job and up to now it is still running).
I think this abend is no where related to the program changes or program is going on loop?
Can anybody suggest me on this wat needs to be done.
Joined: 23 Nov 2006 Posts: 8643 Location: 221 B Baker St
Hello,
Comment out your changes and run the program again.
If the loop happens, it is not the changes. If the loop does not happen, it probably is the changes.
It is likely that the code has been modified in such a way that processing continues even though no new data was retrieved, so the same value(s) process over and over.