Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us