hI,GUYS,Actually select and omit used in lagical file to control the records,values like.
But without key field how can i use these select and omit condition in logical file?
And one more doubt is what is the exact uses of %SCAN,%SUBST,
%SUBDT,%EOF,%CHECK,%COMMIT,%FOUND.Plese explain these
Software/Hardware used:
softwre or hardware
ASKED:
February 4, 2010 5:15 AM
UPDATED:
February 6, 2010 9:33 PM
You can’t use SELECT/OMIT LEVEL without Key Field .
You can’t use SELECT/OMIT LEVEL without Key Field .
Not true.
From the DDS manual:
As noted, there are two ways to use Select/Omit without key fields.
There have been times when S/O specifications have been useful to me, but they have been rare and none have been recent. I would think hard before using them today. IMO, a simple VIEW is often a better choice.
Tom
As far as use for the BIF’s, just open the lpex editor, enter %scan (or whatever) and press F1. Up pops the RPG manual positioned at the right page, with explanation and examples.