an item for the "wish list"


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Bob A on May 29, 2013 at 12:58:20:

something occurred to me while doing some conversions...

in one of the systems (actually, an RPG system on IBM iron) it was possible to specify to the compiler something like:

INCLUDE "CUSTMAST.INC" PREFIX="OLD"

then, every data name would be prefixed with "OLD" and the programmer only needed one include file to specify the multiple instances of a file.

of course, this wouldn't help with my current problem where some of the element sizes are different, but could help in other contexts.

Another wrinkle was to have a "data structure" defined in terms of an INCLUDE:

DSCustMast OCCURS 3 TIMES LIKE "CUSTMAST.INC" INDEXED BY CustMastIndex
where this would define a Ship-to, Bill-to, Sold-to set of addresses

then there was a verb to set the OCCURs Index (CustMastIndex) so that one could use the multiple occurances as needed.

for sales analysis, there was an XFOOT verb to cross foot the whole thing into (what else) a single instance of the .INC structure.

Some of this can, of course, be done with judicious use of Get/Set Format

Thanx

Bob "A"




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]