doubt in data types



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

doubt in data types

Postby VIJAY1 » Sat Nov 24, 2012 1:07 pm

will s9(01) accept -1?Please clarify.
Thanks in advance.
VIJAY1
 
Posts: 26
Joined: Sun Oct 21, 2012 2:49 pm
Has thanked: 3 times
Been thanked: 0 time

Re: doubt in data types

Postby Pandora-Box » Sat Nov 24, 2012 2:02 pm

What happen when you tried?
User avatar
Pandora-Box
 
Posts: 65
Joined: Fri Feb 10, 2012 8:30 pm
Location: Mars
Has thanked: 3 times
Been thanked: 6 times

Re: doubt in data types

Postby BillyBoyo » Sat Nov 24, 2012 4:01 pm

Vijay1, you just need to know what the S is to answer your question. As has been suggested, try it. Then look it up in the manual. Make sure you fully understand it.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post