The INSPECT verb doesnt work properly on my INPUT data , to probe the misbehavior I consulted the manual it but just tells that on DBSC data , inspectt might work erraticaly , Could anybody please throw light on DBSC data , and how can i indentify that my input data might be corrupted with this format .
Joined: 06 Jun 2008 Posts: 8280 Location: Dubuque, Iowa, USA
1. Terminology note: DBSC cannot be found in either the COBOL Language Reference manual nor the Programming Guide (manual link at the top of the page). I assume you meant DBCS (Double Byte Character Set) but since you're not using standard terminology, that is merely an assumption.
2. Saying the INSPECT verb "doesnt (sic) work properly" is very close to a null-content statement. If you would provide details about what doesn't work we could probably provide assistance -- but right now you're asking us to guess if your TALLY count is off, your REPLACING is not working, or any of a number of other possible issues.
3. Where in which manual does it say that INSPECT might work erratically on DBCS data? As long as all data references are consistent, there does not appear to be any erratic behavior according to the manual that I'm reading.
4. What do you mean by this statement?
Could anybody please throw light on DBSC data
There's plenty of reading material available about DBCS in the COBOL manuals and other places.