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

C++ problems


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Tue Aug 15, 2023 8:47 pm
Reply with quote

I hope that I am posting this in the proper forum.

I have a C++ program that is compiled with a parm of CXX SOURCE.
The pre-link uses a parm of MAP,NOER
The bind uses a parm of AMODE=31,RMODE=24,MAP,NORENT,CASE=MIXED
I execute this with a runtime parm of POSIX(ON),MSGFILE(SYSOUT),TERMTHDACT(MSG)

When I execute, I immediately receive:

USER COMPLETION CODE=4093 REASON CODE=00000070

I have done Google searches for this and they seem to say that this might be caused by:
(1) Insufficient memory (I have REGION=0M)
(2) There was no main() (I do have one that shows up on the BIND - it is not entered)
(3) LE was not initialized

One day ago, it was working so I think that I must have messed up my parms.

I would appreciate any ideas for solving this one.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Aug 16, 2023 12:17 am
Reply with quote

Do you really need RMODE=24?

That is the only thing that looks suspicious to me.

And it probably depends on what else is going on in the address space. It might be that previous work is using up all of the 24bit storage.
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Wed Aug 16, 2023 11:04 pm
Reply with quote

Thanks for the suggestion but that did not solve the problem.

This is a batch step so the only thing in the address space is the initiator.

I am going to try various combinations to see if they can make any difference.
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Thu Aug 17, 2023 1:52 am
Reply with quote

Found the problem - a bone-head mistake on my part. Forgot to include the CSECT that contained the main().

I have been doing this stuff since 1965 so I guess my brain is overfull!
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts MFT File transfer problems All Other Mainframe Topics 5
No new posts TSO initial setup / problems TSO/ISPF 9
No new posts RACF passphrase implementation problems All Other Mainframe Topics 1
No new posts CONDITIONAL USING COMP-2 WITH PROBLEMS. COBOL Programming 7
No new posts Problems in File-Aid / DB2 Spufi whil... CLIST & REXX 6
Search our Forums:

Back to Top