Re: COBOL - "STRING" verb available?
| Newsgroups | gmane.comp.emulators.hercules390.general |
|---|---|
| Message-ID | <CAPcd4G_GgdOKnW3TeW2O7ohtADBUEr-L_F__KLoghaimzCHHqw@mail.gmail.com> |
STRING is COBOL-85, so not present in the COBOL 74 compiler we have. Joe On Thu, Jun 27, 2019 at 12:46 AM nff2jf43ijwvycju3kvjhlqfikcnwrpgg5scgsb2-/[email protected] [hercules-390] < [email protected]> wrote: > > > Hi guys > > > A quick question I was wondering whether anyone could confirm... > > > I'm using the IKFCBL00 COBOL compiler, which I understand is pretty old > (well ancient actually 01MAY72!). > > My source code is attempting to use the COBOL 'STRING' verb as in: > > STRING WS-FIRST-NAME OF WS-USER DELIMITED BY SPACE > SPACE DELIMITED BY SIZE > INTO WS-FULL-NAME > ON OVERFLOW > DISPLAY 'SORRY, YOUR DATA WAS TRUNCATED' > END-STRING. > > > I'm getting compiler errors on this line, including "DELIMITED NOT > DEFINED". > > > Am I right in assuming the STRING verb is not implemented in this MVT > COBOL compiler? > > > Thanks guys > > > Pete > > >