MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 2014

How to CRTSRCPF with more than 3 fields



fixed

Any way a source physical file can be created with more than 3 fields? I
am thinking it would be useful to store the name of the user who changed a
source line. Also mark deleted source lines with a delete flag.

To get the extended source file to work with SEU you would create a logical
file over the source file with the additional fields that only selects the
3 fields. And it omits the records with "deleted record" set to "Y".

Then maybe use a trigger program to set the "last change user name" field
in the extended SRCPF record. Which I guess does not work because SEU
clears the source member and replaces its contents when you exit SEU.

I see I cannot use CPYSRCPF when the from file is a CRTPF created file with
3 fields named SRCSEQ, SRCDAT and SRCDTA. So I assume anything with a
logical file would not work either.

thanks,

-Steve





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact