|
|
| Author |
Message |
K C S GUPTA
New User
Joined: 14 Oct 2005 Posts: 2 Location: pune
|
|
|
|
Hi,
Could any PS try to help me in sorting this issue,
i am using following COBOL statement in cics(cics or COBOL doesn't matter) program.
05 WS-VALID-TEXT-CHAR PIC X(74) VALUE
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
- '0123456789/-? ).,+ ..'.
INSPECT WS-TEXT
CONVERTING WS-VALID-TEXT-CHAR TO SPACES
When i run this program whether WS-TEXT contain duplicates or not ,But in the SPOOL i am getting this message
"Duplicate characters were ignored in an INSPECT CONVERTING statement"
The problem is when it is a COBOL prog no prob.Because i am using a CICS Program ,and i am using this statement for so many times the CICS region getting full by this causing storage violation error.
Could any one go thru this and post the answer
Thank you
Gupt |
|
| Back to top |
|
 |
References
|
|
 |
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 107 Location: Concord, New Hampshire, USA.
|
|
|
|
Hi,
Check if FEATURE=(UCTRAN,..)in TCT.This converts data entered in lower or upper case to uppercase characters.So your lower case a-z is taken as A-Z and hence duplication.I guess so.
Regards,
Sridevi. |
|
| Back to top |
|
 |
K C S GUPTA
New User
Joined: 14 Oct 2005 Posts: 2 Location: pune
|
|
|
|
Hi,
My problem is not with the upper-case or lower-case,it is with using the INSPECT CONVERTING verb in COBOL,when i use this verb ,in the spool after displaying the all the result this message is coming which is generated by run time libraries(i guess) with prefix IGZ003.
IGZ003 Duplicate characters were ignored in an INSPECT CONVERTING statement
I want only the output , this message should not be generated because of this storage violation is occurring in my program |
|
| Back to top |
|
 |
|
|