Good morning Derek,
If I'm correct you wish option 6 would generate something like the below in order to select a copybook based on a sub-string of a field.
Unfortunately the product does not support filed sub-stringing.
The work-around is you create 'augmented' copybooks that redefine fielda or fieldb into sub-fields and you select on the sub-field.
This request makes sense and is worth considering if other users vote for it.
Thanks
Patrice Cotte
FileMaster Architect
*** CA File Master Plus 12.0.0 Custom Record Layout
"Test"
* 12.0
IF=(RECINDX-FIELDB(1:3) = T'xyz')
LAYOUTFILE=MY.COPYLIB(RECINDX)
LAYOUTREC=RECINDX-RECORD
* 12.0
IF=(RECOUT-FIELDA(1:3) = C'abc')
LAYOUTFILE=MY.COPYLIB(RECOUT)
LAYOUTREC=RECOUT-RECORD