[Info-vax] NONNUMLNG

Richard Maher maher_rj at hotspamnotmail.com
Mon Nov 23 16:54:10 EST 2009


Hi John,

> So, got any unterminated quoted strings?

No, but I definitely have/had a string literal over 320 bytes. (With
continuation hyphens over multiple lines.)

For our upcoming Tier3Client Example I have a web-page with a "Selection
Criteria" DIV on the left and an "Employee Details" DIV on the right. Once
an individual Employee is located, my COBOL wants to use a $fao control
string containing a plethora of HTML tags and FAO lexicals directives
"<table><tr><td>Name:</td><td>!AS</td></tr></table>  and so on. . .". The
result is then injected into the destination div with "detailsDiv.innerHTML
= myBloodyBigString;".

As with Perl (or whatever) it's nice to have a free hand to edit and format
a page/div as a String. I don't want to break it up into 100 lines and then
measure each segment for a PICture clause every time I make a change. I had
PIC X(somthingTooBig) and then before the SYS$FAO I was gonna STR$TRIM it.

Anyway, it looks like it can't be done but I wanted to go on the record that
320 is an absolute joke of a limit. Are you implying that limit does not
exist and that I have done something else wrong?

Regards Richard Maher

"jbriggs444" <jbriggs444 at gmail.com> wrote in message
news:98171c4b-6354-4c33-a65c-71c5b6eda1ac at u16g2000pru.googlegroups.com...
On Nov 20, 11:19 pm, "Richard Maher" <maher... at hotspamnotmail.com>
wrote:
> %COBOL-E-NONNUMLNG, Nonnumeric literal longer than 320 characters
>
> Really? 320? In 2009? - Why???
>
> Regards Richard Maher

Non-numeric...  That could include a quoted text string.

So, got any unterminated quoted strings?





More information about the Info-vax mailing list