|
From: | Roger While |
Subject: | Re: [open-cobol-list] Stdin/stdout, was Open Cobol Tutorials and other things. |
Date: | Wed, 03 Oct 2007 08:41:58 +0200 |
OC also accepts the ACU specific syntax - ACCEPT identifier-1 FROM ENVIRONMENT "QUERY_STRING". Which actually is much more succint. Roger
This works for OC, ACU and MF: DISPLAY "MYENVNAME" UPON ENVIRONMENT-NAME ACCEPT NEV-VALUE FROM ENVIRONMENT-VALUE Fabrizio > > 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 >
[Prev in Thread] | Current Thread | [Next in Thread] |