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
 

 

Overwrite of Malloc'd storage in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Steve Sullivan

New User


Joined: 01 Feb 2013
Posts: 2
Location: USA

PostPosted: Wed Feb 06, 2013 2:46 am    Post subject: Overwrite of Malloc'd storage in CICS
Reply with quote

We have a CICS transaction which executes a CICS COBOL program. This program dynamically calls several IBM C load modules.
Each of these load modules mallocs storage that we expect to own for the duration of the transaction.
It appears that the storage is being reused as it has been over-written with STKL and STKU entries.
We have gotten around this problem by replacing mallocs with CICS GETMAINS.
We did not have this problem when our C load modules were built with SAS C and statically linked with our COBOL program.
We're wondering whether there are compile or linking options relevant to this problem that we have overlooked.

The CICS translator parameters for the COBOL program are: COBOL3,NODEBUG,NOSOURCE,SP

The compile parameters for the COBOL program are: NODYN,LIB,OBJ,RENT,RES,APOST,MAP,XREF,LIST,SSRANGE.

The link parameters for the COBOL program are: LIST,XREF,AMODE(31),RMODE(ANY),RENT

The compile parameters for the IBM C programs are: SO,XR,EXPMAC,NOMAR,NOSEQ,LONGNAME,SSCOMM,RENT,
GONUMBER,LIST,OFFSET,OPTIMIZE(2),INLRPT,CICS(SP,DEBUG)

The pre-link parameters for the IBM C programs are: NONCAL, NOMEMORY, ER, DUP, MAP,NOOMVS NOUPCASE DYNAM


Lastly, the link parameters for the IBM C programs are: LIST,LET.

Thanks in advance for your responses.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Wed Feb 06, 2013 4:05 am    Post subject: Reply to: Overwrite of Malloc'd storage in CICS
Reply with quote

please do not double post...

the people answering there
http://ibmmainframeforum.com/viewtopic.php?f=12&t=8742
are the same answering here

just tell where do You want to carry on the discussion and somebody will clear the then useless thread
Back to top
View user's profile Send private message
Steve Sullivan

New User


Joined: 01 Feb 2013
Posts: 2
Location: USA

PostPosted: Wed Feb 06, 2013 4:13 am    Post subject: Overwrite of Malloc'd storage in CICS
Reply with quote

I'd like to discuss this topic in the CICS forum.
Apologies for the double-post
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Iterative use of a REXX script causin... bryonyh CLIST & REXX 2 Fri Jul 28, 2017 12:52 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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