EZT Pgm for INPUT Validation
Posted: Wed Dec 04, 2013 6:02 pm
Hi All,
I have a typical requirement that my INPUT1 is a FILE which contains list of DSN names to verify the matching key.
INPUT2 is another file it will contain KEY.
Now i need to validate the first DSN present in the INPUT1 file and match with the INPUT2 Key, if KEY is found OUTPUT1 will write the DSN Name and KEY FOUND,Else DSN NAME KEY NOT FOUND like this i need to read all the DSN listed in INPUT1 file and need to match with the INPUT2 and write the OUTPUT1.
I dont know how to read the INPUT FILE Interenally.
Please suggest me how to read the DSN from INPUT1 internally.
Thanks,
Ramsee
I have a typical requirement that my INPUT1 is a FILE which contains list of DSN names to verify the matching key.
INPUT2 is another file it will contain KEY.
Now i need to validate the first DSN present in the INPUT1 file and match with the INPUT2 Key, if KEY is found OUTPUT1 will write the DSN Name and KEY FOUND,Else DSN NAME KEY NOT FOUND like this i need to read all the DSN listed in INPUT1 file and need to match with the INPUT2 and write the OUTPUT1.
I dont know how to read the INPUT FILE Interenally.
Please suggest me how to read the DSN from INPUT1 internally.
Thanks,
Ramsee