[Info-vax] /END=label

Marc Van Dyck marc.gr.vandyck at invalid.skynet.be
Fri Aug 31 11:30:16 EDT 2018


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...

-- 
Marc Van Dyck



More information about the Info-vax mailing list