Sx22 abends means the system cancelled the job for some reason.The S322 is caused by exceeding the allowable CPU time. Limits on CPU time can be caused by the TIME parameter on job/step card the initiator used and several other areas.When you get a S322 you should carefully check for a program loop. To do this run your job again and go to SDSF. Look at your running job and note the EXCP and CPU usage. If CPU is counting up and EXCP is not this could indicate a loop.There are parameters for overriding the CPU time but these should never be used unless you know what is causing the problem and why.
it is a timeout abend.after submitting a job for a long time this abend appears means the cpu execution time taken by the system was too long so that we have to resubmit the job or else specify the time parameter ie;time 1440 that indicates that the maximum cpu time timetaken by the cpu to execute the job.