gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Stdin/stdout, was Open Cobol Tutorials and other


From: John Culleton
Subject: Re: [open-cobol-list] Stdin/stdout, was Open Cobol Tutorials and other things.
Date: Tue, 2 Oct 2007 19:25:13 -0400
User-agent: KMail/1.9.7

On Friday 28 September 2007 06:52:13 am Roger While wrote:
> Firstly, understand the difference between cgi use
> and use as a filter.
> The ACCEPT does not have an AT END :-)
> Which, of course, is necessary for a filter.
> With CGI, the usage is quite clear and you posted
> ca: end 2005 to this effect (somewhere).
> (And were answered)
> In other words, these extensions are not relevant for CGI.
> The point with CGI is the differentiation between
> the "GET" and "POST" methods for forms.
> Both can be handled in Cobol code with a test on the
> standardized environment variables.
>
> Roger

In TC this statement works:
ACCEPT identifier-1 FROM ENVIRONMENT-VARIABLE "QUERY_STRING".

But it causes an error message in OC:
 
Error: 'ENVIRONMENT-VARIABLE' undefined in SPECIAL-NAMES

Can you suggest a proper OC statement? Do I need something in SPECIAL-NAMES?

Your assistance, as always is appreciated.
-- 
John Culleton


reply via email to

[Prev in Thread] Current Thread [Next in Thread]