There is a field called "Name", type of this field is alphanumeric and it should contain the values between 'a' to 'z' and 'A' to 'Z'. If suppose accidentally some one has inserted other than these values then this value should be printed in the output file.
how could this be done in webfocus?This message has been edited. Last edited by: Vinay Kumar,
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
i just gave a try please let me know the correct one
what if we have to check for alphabets and spaces?
WebFOCUS 7.6.4, Mainframe Focus Windows XP, All Output Formats
July 27, 2011, 08:27 AM
<JG>
If you want to check for a space you need to convert them to a value of a - z or A -Z first.
DEFINE FILE CAR
CHK_ID/I3 = CHKFMT(16, CTRAN(16, CAR, 32, 65, 'A16'), 'AAAAAAAAAAAAAAAA', 'I3');
END
TABLE FILE CAR
PRINT CAR
CHK_ID
BY COUNTRY
BY CAR
BY MODEL
END