Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Move SIGN NUM to UNSIGN NUM warning message

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Move SIGN NUM to UNSIGN NUM warning message
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: 7312
Location: Inside the Matrix

PostPosted: Tue Apr 15, 2014 1:32 pm    Post subject: Reply to: MOVE SIGN NUM TO UNSIGN NUM,HOW CAN I GET A WARNIN
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: 19254
Location: Inside the Matrix

PostPosted: Tue Apr 15, 2014 6:47 pm    Post subject:
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    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 Missing Negative sign in COBOL jzhardy COBOL Programming 0 Sat Sep 26, 2020 11:32 am
No new posts Read 4MB message and split into multi... myselfsk15 COBOL Programming 6 Fri Sep 25, 2020 7:24 am
No new posts Force a Return Code and print error m... Rick Ryan SYNCSORT 30 Thu Jun 25, 2020 1:18 am
No new posts SUSBSCRIPT WITH SIGN IN PIC CLAUSE RIGICDS32 COBOL Programming 3 Wed Jun 24, 2020 5:49 pm
No new posts Typing the CENT sign ยข on mainframe,... Rod Hittle All Other Mainframe Topics 2 Wed Apr 15, 2020 7:06 pm

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us