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

CICS GETMAIN


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
s390

New User


Joined: 23 Aug 2005
Posts: 3

PostPosted: Tue Aug 23, 2005 2:57 pm
Reply with quote

Hi,

I have a cics porgram which reads a message from a queue. Sometimes the message length if more than 32767 bytes. So please give me asolution to handle the above situation in cics. Tried using GETMAIN but the messgae lenght is exceeding.
Back to top
View user's profile Send private message
mallikiran

New User


Joined: 07 Sep 2005
Posts: 49

PostPosted: Wed Sep 07, 2005 8:02 pm
Reply with quote

You can do a GETMAIN using the FLENGTH option where the length variable is a fullword (4 bytes).
By the way, the maximum length of storage that can be acquired using LENGTH is 65520 bytes and 1,073,741,824 bytes for FLENGTH.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top