ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Cobol CopyBook Size

Post new topic  Reply to topic
 Cobol CopyBook Size « View previous topic :: View next topic » 
Author Message
Lisa
PostPosted: Fri Jun 07, 2002 7:03 am    Post subject: Cobol CopyBook Size Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

I need determine the actual length of an inbound and outbound copybook.
How can I do this? The ESQL length function does not provide the results
that I'm looking for.

Example:
Que_Name PIC X(35).

If the queue name has been defined as pic x(35) and the queue name value is 'IBMDEVQ1',
The length function will return eight as the true length of this string.
I need to see 35.

How can I access the message size from the MQInPut Node?


Thanks, Lisa
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Fri Jun 07, 2002 12:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I don't think there is any function in ESQL that will return you the size of the MRM field.
LENGTH function returns the size of actual data in a field.
If you want to calculate the size of input message then you can use something like
length(BITSTREAM(InputBody))
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Lisa
PostPosted: Fri Jun 07, 2002 7:18 pm    Post subject: Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Thanks Kiran!
Everything is working great.

Lisa
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Cobol CopyBook Size
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.