Create a report from a file only If some records found
Posted: Thu Feb 03, 2011 5:47 pm
Hi
I have a file with 150 recl and i need to generate a simple report only if in the file we have records with a ASTERIC in the position 125.
Every record with a asterisc must be print. If no one record exist with a asteric in pos 125, I need to create the report only with a text: TODAY WE HAVE NO ERRORS.
It is possible?
I have a file with 150 recl and i need to generate a simple report only if in the file we have records with a ASTERIC in the position 125.
Every record with a asterisc must be print. If no one record exist with a asteric in pos 125, I need to create the report only with a text: TODAY WE HAVE NO ERRORS.
It is possible?