IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Move SIGN NUM to UNSIGN NUM warning message


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
xpower

New User


Joined: 07 May 2006
Posts: 35

PostPosted: Tue Apr 15, 2014 7:47 am
Reply with quote

hello all,

CODE:

01 SIGN-VAR PIC S9(03) VALUE +001.
01 UNSIGN-VAR PIC 9(03) VALUE 0.

MAIN-PROCDURE.
MOVE SIGN-VAR TO UNSIGN-VAR.

WHAT I WANT TO KNOW:
HOW CAN I GET A WARING MSG DURING COMPIILE?

THANKS ALL AHEAD.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Apr 15, 2014 1:32 pm
Reply with quote

CAPS LOCK OFF PLEASE.

It does nothing but get people to ignore your post, probably the opposite of what you want.

Since what you have shown is a perfectly normal and acceptable thing to do in COBOL, why would you expect a compiler warning for it?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 15, 2014 6:47 pm
Reply with quote

Hello,

Did you get a warning? Are you trhyjg to force a warning?

Your question is not clear.

If you clarify, possible someone can help. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts dsnrexx fails without error message CLIST & REXX 9
Search our Forums:

Back to Top