[Info-vax] /END=label
Dave Froble
davef at tsoft-inc.com
Fri Aug 31 14:06:09 EDT 2018
On 8/31/2018 11:30 AM, Marc Van Dyck wrote:
> Bill Gunshannon formulated on mardi :
>> On 08/27/2018 06:19 PM, John Reagan wrote:
>>> I can do that. That's the same solution for VMS. Program returns a
>>> value (either as status or environment variable) and the script
>>> branches based in the value. The OP wanted to know if that branch
>>> could be directly incorporated inside the program just like READ/END
>>>
>>
>> Then I guess I don't understand what he is trying to do.
>> You mean he wants an END= in Fortran or AT END in COBOL
>> to reference something outside the program? Weird.
>>
>> bill
>
> I just want to, from inside a program activated by a DCL command, jump
> to a DCL label from the program if a certain condition is met (like
> getting an end of file when reading a file, which is achieved with
> the /END=label qualifier of the DCL READ comment). And nothing to do
> with Unix, which I never touched and do not intend to ever do so...
>
From an architecture perspective, that is just a very bad idea.
KISS !!
More information about the Info-vax
mailing list