MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is 'S' a editing character?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
sushshibu
Beginner


Joined: 21 Jul 2004
Posts: 3
Topics: 3
Location: chennai

PostPosted: Fri Aug 13, 2004 8:17 am    Post subject: Is 'S' a editing character? Reply with quote

Is 'S' a editing character. My reason for questioning is if I give the pic clause of a data item to be

77 QTY PIC S9(3) SIGN LEADING SEPARATE.

And on execution the result I am getting is

-123

which means I am asigning only 3 storage locations but my sign is taking up an extra storage space, so ultimately I guess it has to be a editing character. Am I correct?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Aug 13, 2004 8:27 am    Post subject: Reply with quote

sushshibu,

Check this link which explains in detail about the Symbols used in the PICTURE clause

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/5.3.11.1?SHELF=&DT=20020920180651&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Aug 13, 2004 10:32 am    Post subject: Reply with quote

Instead of
Code:
77 QTY PIC S9(3) SIGN LEADING SEPARATE

code
Code:
77 QTY PIC S9(3)

and test again.

The difference should be clear then.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group