If you want to eliminate records which has both zeros and blanks use AND in between the conditions. If you wanna eliminate records either with zeros or blanks then use OR.
the solution which u gave for the first one worked fine for me..
but i have a question regarding the second one.
if i need to extract the eliminated records to a separate file, do i need to use another condition 'INCLUDE' in my jcl using the same input file which i used for the 'OMIT' Condition.
is there any possibility to get those eliminated records after from the OMIT condition which was mentioned for the first question. is it possible to get those eliminated records without using another 'INCLUDE or OMIT' condition in the jcl so that i can write the eliminated records in a separate file.
is there any possibility to get those eliminated records after from the OMIT condition which was mentioned for the first question. is it possible to get those eliminated records without using another 'INCLUDE or OMIT' condition in the jcl so that i can write the eliminated records in a separate file.
Waves,
There may be a method to extarct the elminated records after OMIT. But I am not sure. Simle way to do this is add one more step, put INCLUDE there to extarct records with blanks/zeros.
Hope this helps. _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
_________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum