Dumb Question Time: Qualification of data items
From: PAUL RAULERSON (pkraulerson_at_verizon.net)
Date: 06/23/04
- Next message: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Previous message: docdwarf_at_panix.com: "Re: Is it possible to use the value of the PROGRAM ID within the source code?"
- Next in thread: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Reply: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Reply: Peter E. C. Dashwood: "Re: Dumb Question Time: Qualification of data items"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Jun 2004 02:25:59 GMT
I am not sure if I am mixing COBOL and Assembler, or Ada (or some other
language) up,
but isn't there a way to qualify a set of data items within a block
statement?
Something like:
USING A-RECORD
MOVE 'A' TO ITEM-1
MOVE 2 TO ITEM-2
END-USING
USING B-RECORD
MOVE 'B' TO ITEM-1
MOVE 3 TO ITEM-2
END-USING
RATHER THAN
MOVE 'A' TO ITEM-1 OF A-RECORD
MOVE 2 TO ITEM-2 OF A-RECORD
MOVE 'B' TO ITEM-1 OF B-RECORD
MOVE 3 TO ITEM-2 OF B-RECORD
I swear, I thought this existed at least in IBM COBOL somewhere,
but I can not find anything like this at all in the reference manuals.
-Paul
- Next message: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Previous message: docdwarf_at_panix.com: "Re: Is it possible to use the value of the PROGRAM ID within the source code?"
- Next in thread: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Reply: Joe Zitzelberger: "Re: Dumb Question Time: Qualification of data items"
- Reply: Peter E. C. Dashwood: "Re: Dumb Question Time: Qualification of data items"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]