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
 
Cobol Programming - Technique

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
manishram1

New User


Joined: 23 Mar 2006
Posts: 34

PostPosted: Mon May 31, 2010 10:04 am    Post subject: Cobol Programming - Technique
Reply with quote

Hi Friends,
We use a Common Program to Get/Put messages in MQ (Say MQX).We have at least 30 Programs which is using this MQX to put or get messages from MQ.Though these programs have different length of Messages ,they are forced to use the maximum message length while calling MQX ,since it is the common module which inturn using considerable amount of CPU.

Eg

A,B,C programs Calls MQX

A has MQ Message Length of 50 bytes
B has MQ Message Lenght of 2000 bytes
C has MQ Message Length of 20 MB

Since MQX is the common module ,MQX has been gradually increased to 20 MB .So A,B though have smaller MQ Message length it is forced to use 20 MB to pass the message.

Thanks in Advance.

-Mani
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: Mon May 31, 2010 11:27 am    Post subject:
Reply with quote

Hello,

You might consider a new design where the very large messages are placed in one queue and the others are placed in another. . .

Why is there a requirement that these all be interleaved?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon May 31, 2010 2:09 pm    Post subject:
Reply with quote

what is the problem?

the length of the message, is the message length...

and just because you read a 20 byte message into an 20mg byte buffer is no problem.

you are having to resource problems just because of the 20mg buffer size.

you are deluded and have a personal problem which needs to be rectified before you have fix your mqs mess.

you have something else wrong with your system.
a standard - single module to read/write mqs message, regardless of the size is the way to go -
and your crying about needing separate module to handle the 'big ones',
only shows how inexperienced your are.

now explain your problem (other that wanting two modules).

how did you determine the problem?
because this is an idiot statement:
Quote:
They are forced to use the maximum message length while calling MQX ,since it is the common module which inturn using ...


they are not forced to used the maximum length...
Back to top
View user's profile Send private message
manishram1

New User


Joined: 23 Mar 2006
Posts: 34

PostPosted: Sat Jun 05, 2010 7:48 pm    Post subject:
Reply with quote

Thanks for the Great Response dbz.

Dick,
Yes,we are thinking of new design.Thanks
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 -> COBOL Programming 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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

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