Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> COBOL Programming
View previous topic :: :: View next topic  
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

Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Converting NULL column into NOT NULL ... Raghu navaikulam DB2 5 Sat Aug 06, 2016 3:45 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us