I have to omit records from output file if the feilds is blank for a particular records. The feilds is define as graphic(Double byte) (UTF -16).
Can anybody suggest me what we should put in omit cond ??????
Starting position in the input file : 50
end postion : 200
Length 150 byte
Requirement : to omit any record which is blank (in this case X'0020')
I tried using omit cond =(50,150,BI,X'0020')
but it is not working, Iam not sure if this is the correct syntax for double byte data.
Pls let me know if u require any details , I was not able to put actual data as it is confidential.
if the feilds which have UTF 16 Data, starting from 50 ,(feilds is defined as graphic(75), so will take 150 byte), have no data i.e blank in UTF 16 represented as '0020'. it shd get omitted.
You seem to be saying that you have a 150 byte field that starts in position 50. But it's not clear what you mean by "blank in UTF 16 represented as X'0020'. Does that mean that only positions 50-51 need to have X'0020', or that every two bytes needs to have X'0020' (e.g. 50-51 has X'0020', 52-53 has X'0020', etc), or something else? Please describe clearly what you want to test for.
I mean to say that every 2 byte needs to have '0020' . Just to be more clear i stated that that blank in utf 16 means '0020', seems i confused you all. what i actually mean that if every position have value '0020', it shd be omitted . pls let me know iam clear or u neen any futher clarification.