Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
CICS GETMAIN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
s390

New User


Joined: 23 Aug 2005
Posts: 3

PostPosted: Tue Aug 23, 2005 2:57 pm    Post subject: CICS GETMAIN
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
References
mallikiran

Active User


Joined: 07 Sep 2005
Posts: 52

PostPosted: Wed Sep 07, 2005 8:02 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1