Payment failed



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Payment failed

Postby clapclash » Fri Oct 19, 2012 12:32 am

Hi everyone!
I am currently trying to execute a payment simulation using JCL, here there's the code:

PAYMENT EXCE PGM=PAYMENT, REGION=1024K
               PARM=('CSQ1 CARD.PAYMENTS  USERID.REPLY USERID 34.00 "FOOD" ')
STEPLIB DD DSN=ZOS.PAYMENT.DATA.LOAD,DISP=SHR
             DD DSN=WMQ.V6R0.SCSQLOAD,DISP=SHR
             DD DSN=WMQ.V6R0.SCSQANLE,DISP=SHR
             DD DSN=WMQ.V6R0.SCSQAUTH,DISP=SHR
STDOUT DD SYSOUT=*
STDERR  DD SYSOUT=*
SYSPRINT DD SYSOUT=*


I then run SUBMIT, jcl submits the job, but when I check in SDSF in the output queue then I got this message:
IEF4501 USERID someuser someuser - ABEND=S622 U0000 REASON=000335 TIME=13.58.25

I have already checked the message IEF4501 on the manual and it says "A job step abnormally ended." but I can't see any errors in my code.
Would you please help to spot the error[s]???
Thank you!
clapclash
 
Posts: 26
Joined: Fri Dec 23, 2011 9:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Payment failed

 

Re: Payment failed

Postby Akatsukami » Fri Oct 19, 2012 1:04 am

The JCL is badly edited (that could never run) and should have been enclosed in Code tags, but pass that. The S622 abend refers to the TSO session from which the job was submitted, not the job itself. Look up the possible reason for a S622 abend in the z/OS MVS System Codes manual, and decide which might apply.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Payment failed

Postby dick scherrer » Fri Oct 19, 2012 2:34 am

Hello,

As Akatsukami mentioned, the posted "jcl" will not execute.

Suggest you copy/paste the actual job submitted so we can see what you really have. Also post all of the diagnostic information presented.

Use the Code tag for these.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Payment failed

Postby expat » Fri Oct 19, 2012 11:07 am

Have you referenced the fine manual to see what a 622 abend is ?
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Payment failed

Postby clapclash » Mon Oct 22, 2012 1:29 am

Thank you everyone for replying!
I have checked the manual and this is what I found:
622
Explanation: A task entered from a Time Sharing Option (TSO) terminal ended for one of the following reasons:
The system encountered one of the following errors while constructing control blocks for TSO:
The system encountered a multiple-step procedure.
The prompting task ended abnormally.
The terminal user signaled ATTN during LOGON scheduling.
The user submitting the job disconnected his or her terminal from the system.
The terminal malfunctioned.

I think my error is " The system encountered a multiple-step procedure." but I don't really know how to fix it, can anyone help me with this? The code is all that I previously posted
clapclash
 
Posts: 26
Joined: Fri Dec 23, 2011 9:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Payment failed

Postby clapclash » Mon Oct 22, 2012 1:44 am

There's only "PAYMENT JOB MSGCLAS=H" at the beginning of the file
clapclash
 
Posts: 26
Joined: Fri Dec 23, 2011 9:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Payment failed

Postby Robert Sample » Mon Oct 22, 2012 2:04 am

clapclash, do you realize that JCL requires each and every statement begin with // ? You have made multiple posts of your purported JCL, and not one of those lines start with //. This lack of the proper starting characters, alone, could explain your problem.

Furthermore, your post has 'EXCE' instead of 'EXEC' but I doubt you're getting far enough for the JES converter/interpreter to have a problem with the keyword.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: Payment failed

Postby clapclash » Mon Oct 22, 2012 2:10 am

Rober I know that each statement starts with // and I'm sorry for not posting it together with the code. I have already changed EXCE to EXEC, the funny thing now is that when I check in SDSF the output queue after submitting this job I cannot see any output job, not even wrong, I've already checked the LOG but there's nothing there as well. Do you have any idea?
clapclash
 
Posts: 26
Joined: Fri Dec 23, 2011 9:10 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Payment failed

Postby Robert Sample » Mon Oct 22, 2012 2:14 am

Usually when a job is submitted but does appear on the spool, it is because the JOB statement is incorrectly coded and JES flushed the job since it did not recognize the JOB statement.

Also, the problem with what you are doing is that you are editing what you post. This is bad because sometimes the details you omit are FAR more important than what you include. We like to see mainframe output, cut from the screen and pasted into your post.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: Payment failed

Postby halfteck » Mon Oct 22, 2012 10:40 am

2 points to add here
1. you are specifying MSGCLAS instead of MSGCLASS (job not run JCL error)
2. you pasted the code PAYMENT EXCE PGM=PAYMENT, REGION=1024K Even if you changed EXCE to EXEC, this will also cause a job not run JCL error, 'expected continuation not received' due to the space after the comma.
These are the reasons responders NEED to see the actual JCL, we know a lot (generally) but are not mind readers
halfteck
 
Posts: 42
Joined: Tue Nov 08, 2011 8:47 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post