Re: SYS$FAO coding example in BLISS-32

Liste des GroupesRevenir à co vms 
Sujet : Re: SYS$FAO coding example in BLISS-32
De : papa (at) *nospam* sdf.org (David Meyer)
Groupes : comp.os.vms
Date : 12. Jul 2024, 06:17:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87y167gpdx.fsf@lucy.meyer21c.net>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Jim Duff <jim@bad.invalid> writes:

Try section 8.3.1 of the the BLISS 32 User Manual?
>
https://www.digiater.nl/openvms/freeware/v50/bliss/b32uman.pdf

Thanks for the pointer. I actually found that example in an older
edition of the manual a few days ago, but didn't notice the call to
$FAOL!

One (or two?) problem trying to compile the example with Compaq COBOL
V2.7 on Alpha:

       MSGDESC[0] = .RSLT;              ! Modify output descriptor
    ...........^
    %BLS32-W-TEXT, Null actual parameter for structure BLOCK has no
    default value
    at line number 29 in file DISK$USER_01:[PAPA]SHOWTIMEUM.B32;2

       MSGDESC[0] = .RSLT;              ! Modify output descriptor
    ..............^
    %BLS32-W-TEXT, Fetch or store applied to field of zero size
    at line number 29 in file DISK$USER_01:[PAPA]SHOWTIMEUM.B32;2

However, changing the flagged line as follows allows the example to
compile and run as expected:

    MSGDESC [DSC$W_LENGTH] = .RSLT;

--
David Meyer
Takarazuka, Japan
papa@sdf.org

Date Sujet#  Auteur
11 Jul 24 * SYS$FAO coding example in BLISS-326David Meyer
11 Jul 24 +* Re: SYS$FAO coding example in BLISS-324Jim Duff
12 Jul 24 i`* Re: SYS$FAO coding example in BLISS-323David Meyer
12 Jul 24 i +- Re: SYS$FAO coding example in BLISS-321David Meyer
12 Jul 24 i `- Re: SYS$FAO coding example in BLISS-321Hunter Goatley
12 Jul 24 `- Re: SYS$FAO coding example in BLISS-321Hunter Goatley

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal