Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to restrict the warn msgs using inspect converting verb

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
K C S GUPTA

New User


Joined: 14 Oct 2005
Posts: 2
Location: pune

PostPosted: Fri Oct 14, 2005 4:38 pm    Post subject: How to restrict the warn msgs using inspect converting verb
Reply with quote

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/-?icon_sad.gif).,+ ..'.

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
View user's profile Send private message
References
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 107
Location: Concord, New Hampshire, USA.

PostPosted: Fri Oct 14, 2005 7:05 pm    Post subject:
Reply with quote

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
View user's profile Send private message
K C S GUPTA

New User


Joined: 14 Oct 2005
Posts: 2
Location: pune

PostPosted: Sat Oct 15, 2005 11:02 pm    Post subject: Re: How to restrict the warn msgs using inspect converting v
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1