Hello all,
I have an 11 byte hex field used for barcode purposes
and when I come across an x'11' I get an x'00' byte
inserted before it and the field now becomes a 12 byte
field. I have tried defining the field as PIC X(11),
PIC 9(11), PIC 9(11) COMP, and PIC 9(11) COMP-3 with no
luck. PLEASE...
Hello,
Is there a way to scan a whole record for a keyword. For
example I want to drop records with the word "widget" that
can be found anywhere in a particular 100 byte field.
Any help you can provide is appreciated.
Hello,
I trying to capture a portion of the input file name
and write it to the output record. How would I go
about doing this? For example, my Select Filein statement
refers to filename TEST.DM123456.PROD.TXT and I want
to capture DM123456 to store in a variable for my
output.
Thanks
Dan.
Hello,
I can't get my dos SET statements to work in Microfocus
Cobol version4.0.28 for Windows2000. I'm trying to
use a statement such as "SET FILEIN1=C:\DATA\DATAIN.TXT"
and then run the executable. I can get it to work in my
evaluation copy of Realia Cobol, but not MFC. In the...
Hi was wondering if anyone has a COBOL algorithm handy
that would perform a keycount on a specified field.
For example, lets say I wanted a keycount on a state
field in a sequential file of 1 million records and
I want it to return a report that looks something like
the following:
State Count...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.