what does it mean "SIGN LEADING SEPARATE."?



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

what does it mean "SIGN LEADING SEPARATE."?

Postby leon » Wed Nov 26, 2008 7:27 pm

hi, eveybody
could you help me explain the meaning in the following code: SIGN LEADING SEPARATE.
I can't find the syntax from cobol textbook, thank you very much!


01 WS-TG-PL-SUSP-BAL-AMT PIC S9(13)V99
SIGN LEADING SEPARATE.
01 COMM-TR-SUSP-BAL-AMT PIC S9(13)V99 COMP-3

MOVE COMM-TR-SUSP-BAL-AMT
TO WS-TG-PL-SUSP-BAL-AMT
leon
 
Posts: 40
Joined: Tue Nov 25, 2008 7:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: what does it mean "SIGN LEADING SEPARATE."?

 

Re: what does it mean "SIGN LEADING SEPARATE."?

Postby MrSpock » Wed Nov 26, 2008 8:42 pm

User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: what does it mean "SIGN LEADING SEPARATE."?

Postby dick scherrer » Wed Nov 26, 2008 10:47 pm

Hello,

Look here:
http://publibz.boulder.ibm.com/cgi-bin/ ... r10/5.3.14?

Suggest you save the link as it is the cobol language reference manual. Click on the little open book at the top left for the table of contents.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: what does it mean "SIGN LEADING SEPARATE."?

Postby lxw039 » Thu Nov 27, 2008 7:48 pm

It's very clear righ now, thank both of you!
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: what does it mean "SIGN LEADING SEPARATE."?

Postby leon » Thu Nov 27, 2008 7:52 pm

thank you very much, Mr. D and Mr. Spock!
leon
 
Posts: 40
Joined: Tue Nov 25, 2008 7:39 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post