append a string to another
From: Tobias Neubert (t1_at_s-neubert.net)
Date: 12/20/04
- Next message: Joe Zitzelberger: "Re: Writing sysout messages to specified DD"
- Previous message: William M Klein: "COBOL FAQ"
- Next in thread: clvrmnky: "Re: append a string to another"
- Reply: clvrmnky: "Re: append a string to another"
- Reply: Manfred Niendiek: "Re: append a string to another"
- Reply: Donald Tees: "Re: append a string to another"
- Reply: Howard Brazee: "Re: append a string to another"
- Reply: Lueko Willms: "Re: append a string to another"
- Reply: JerryMouse: "Re: append a string to another"
- Reply: JJ: "Re: append a string to another"
- Reply: Joe Zitzelberger: "Re: append a string to another"
- Reply: Vaclav Snajdr: "Re: append a string to another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Dec 2004 07:27:02 -0800
Hi,
I am a Cobol newby, trying to write a first program which reads in a
textfile, line by line and concatenates the lines to one big string. I
do the following:
------------
string thelongstring delimited by size
In-Data delimited by size
into thelongstring
---------------
thelongstring is 32000 bytes long, In-Data is 80 bytes long. It seems
that cobol appends In-Data at the very end of thelongstring, that is
after the last space at position 32000.
Please tell me how it is possible to solve my problem.
Thanks and Kind Regards,
Tobias Neubert
- Next message: Joe Zitzelberger: "Re: Writing sysout messages to specified DD"
- Previous message: William M Klein: "COBOL FAQ"
- Next in thread: clvrmnky: "Re: append a string to another"
- Reply: clvrmnky: "Re: append a string to another"
- Reply: Manfred Niendiek: "Re: append a string to another"
- Reply: Donald Tees: "Re: append a string to another"
- Reply: Howard Brazee: "Re: append a string to another"
- Reply: Lueko Willms: "Re: append a string to another"
- Reply: JerryMouse: "Re: append a string to another"
- Reply: JJ: "Re: append a string to another"
- Reply: Joe Zitzelberger: "Re: append a string to another"
- Reply: Vaclav Snajdr: "Re: append a string to another"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|