If that's really what you want, it would be 05 DELIM PIC X(3) and MOVE
'","' TO DELIM.
That's move singlequote doublequote comma double single.
But I doubt that's what you really want. +1 on the Suprtool suggestion
On Sep 3, 2015 10:59 AM, "Newton, Ernie" <[log in to unmask]> wrote:
> Greetings,
>
> It's been a long time since I wrote COBOL, and I have an elementary
> question about creating a comma-delimited file.
>
> If I want...
>
> "item one", "item two","","","item three"
>
> How do I create the "," between item one and item two? Is it simply PIC
> "","" (quote comma quote inside double quotes?)
>
> And the ","",""," would it be the same? Just put that inside double
> quotes?
>
> Something tells me that there is an escape sequence, but the mind is not
> cooperating.
>
> Thanks,
>
> Ernie
>
> ________________________________
>
> This message, including any attachments, is intended solely for the use of
> the named recipient(s) and may contain confidential and/or privileged
> information. Any unauthorized review, use, disclosure or distribution of
> this communication(s) is expressly prohibited. If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy any and
> all copies of the original message.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|