Re: updating just 2 fields in a file
I CHAIN and READ file names ... I UPDATE and WRITE record names.
Also, posted before ...
I believe if you are not going to use all of the keys for your CHAIN you can do this:
I CHAIN and READ file names ... I UPDATE and WRITE record names.
Also, posted before ...
Code:
Straight from the IL REference guide Examples: D custkeyDS e ds extname(custfile:*key) /free CHAIN (keyA : keyB : key3) custrec; CHAIN %KDS(custkeyDS) custrec;
Code:
chain ( keyA : keyB ) custrec; -or- chain %kds( custKeyDS : 2 ) custrec;
Comment