In a service program I have two procedures which include files. In the first procedure I have:
In the second I have:
There are no compile errors in the first procedure. But the second procedure gives me Data structure ZIPCDDS is not allowed for the operation. When I remove the data structure from the chain operation, I get an error saying a data structure is required.
I have a second view of this file, hence the use of "rename". I get the same compile errors on this file as well.
Code:
Ftsctl uf e disk D tsctlDs e ds extname(tsctl : *all) read tsctlr tsctlDs;
In the second I have:
Code:
Fzipcd1 if e k disk rename(zipcdr:zipcd1r) D zipcdDs e ds extname(zipcd : *all) chain (zpCity : pState) zipcd1r zipcdDS;
I have a second view of this file, hence the use of "rename". I get the same compile errors on this file as well.
Comment