Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error while running an Assempler program(Maxcc=1064)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Sivanthi

New User


Joined: 17 Sep 2008
Posts: 2
Location: Coimbatore

PostPosted: Thu Sep 18, 2008 4:58 pm    Post subject: Error while running an Assempler program(Maxcc=1064)
Reply with quote

Hello All,

I have coded an simple assembler program to add two number.
while compiling that code i got Maxcc=0, but when i am running that program i am getting Maxcc=1064, the RUN JCL is an simple JCL.I have used sysudump to show the dump output of registers in my spool.But when reading the first step in my run JCL i am getting error.
for eg: step1 exec pgm=ex1,
my error is step1 was not executed, i am getting RC 1064.
Back to top
View user's profile Send private message

Kevin Wailes

New User


Joined: 29 Aug 2008
Posts: 10
Location: UK

PostPosted: Thu Sep 18, 2008 5:07 pm    Post subject: Reply to: Error while running an Assempler program(Maxcc=106
Reply with quote

Could you post the source of the program
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Thu Sep 18, 2008 5:14 pm    Post subject:
Reply with quote

Quote:
while compiling that code i got Maxcc=0, but when i am running that program i am getting Maxcc=1064
What does the compile condition code have to do with it? There's a huge number of programs that can be compiled cleanly with 0 condition code but which fail when executed.

Before posting the source, post the exact error messages since you say
Quote:
my error is step1 was not executed, i am getting RC 1064.
and if the program isn't running, what is generating the RC 1064?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Sep 18, 2008 9:02 pm    Post subject:
Reply with quote

Hello,

Just before exiting the program (the branch to r14), make sure r15 is zero. The 1064 may be some "left over" value and r15 is the return code.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us