IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error while running an Assempler program(Maxcc=1064)


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Sep 18, 2008 5:14 pm
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

Moderator Emeritus


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

PostPosted: Thu Sep 18, 2008 9:02 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top