|
View previous topic :: View next topic
|
| Author |
Message |
Mukesh Pandey
Active User
Joined: 11 Nov 2008 Posts: 143 Location: India
|
|
|
|
Hi All,
Can i have an optimized method for the task below. My copybook is very long..
File aid the input file using the copy book and see what comes as low values in the file - Do a hex on for low values/high values -Mention those fields in copybook that are normally blank or possibility of having high/low values |
|
| Back to top |
|
 |
Mukesh Pandey
Active User
Joined: 11 Nov 2008 Posts: 143 Location: India
|
|
|
|
Also need to know whether NULL and LOW values are same and difference if any. what is a high value?
X'04' corresponds to NULL or low values. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
mild suggestion...
review Your understanding of the "null value" concept...
there is no such a a thing as a null value, every byte of eight bit is a value,
even 00
nullness is a convention to indicate that a value is not provided
to provide support for NULLNESS each data field must be composed of two parts...
NULL indicator ( tells if a value has been provided )
DATA value relevant only if NOT NULL |
|
| Back to top |
|
 |
Mukesh Pandey
Active User
Joined: 11 Nov 2008 Posts: 143 Location: India
|
|
|
|
clear that NULL is no value provided...
Can i know what are the HEXX values that i need to check for LOW/HIGH values. |
|
| Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
| Back to top |
|
 |
|
|