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: 8120
Location: East Dubuque, Illinois, USA

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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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