|
You could use the inspect statement to find itCount the number of characters before "Additional Instructions" and if > 0, then you found it
----- Original Message ----- From: "Mike Apice" <mapice3284@xxxxxxxxx>
To: "COBOL Programming on the iSeries/AS400" <cobol400-l@xxxxxxxxxxxx> Sent: Monday, June 05, 2006 6:45 PM Subject: [COBOL400-L] Help with Inspect or examine
I have an MQ record coming in to my program. The record is 23400 bytes. There can be comments and then something from a front-end form called "additional instructions".. I need to find The words --------------Additional Instructions-- and take a seperate logic path from regular comments which may be before or after these 2 special words.Any help would be appreciated. Thanks. Mike __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing listTo post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/cobol400-l or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archivesat http://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.