Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
why we give S9(4) COMP for Length?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
vijaykorde
Currently Banned

New User


Joined: 17 Jan 2007
Posts: 6
Location: Pune

PostPosted: Sat Feb 24, 2007 1:06 pm    Post subject: why we give S9(4) COMP for Length?
Reply with quote

HI,

Will you please give me the answer of why we give

PIC S9(4) COMP for LENGTH and

PIC S9(8) COMP for RCODE ?


Please send me the answer.

Thank You in advance
Vijay Korde
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Feb 24, 2007 2:15 pm    Post subject:
Reply with quote

I can only guess that the length is a smaller number that the rcode.....
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sun Feb 25, 2007 2:04 am    Post subject:
Reply with quote

Hello,

Please post the actual code you have questions about. Do you mean parameter LENGTH? Are you using Oracle?

Simply said, we use those definitions because that is the way those "controls" were defined when they created. When one uses things created by others, we use them the way the author delivered them.

Please let us know if you'd like any other info.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Feb 25, 2007 2:38 am    Post subject:
Reply with quote

In the CICS forum I assumed CICS, length used to be all a half word - until the flength showed up and the return code quite often had 3 bytes in it.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sun Feb 25, 2007 4:54 am    Post subject:
Reply with quote

If we repeat ourselves often enough, maybe information will also be posted with the questions icon_smile.gif
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit in Length for a CICS START seahawk789 CICS 6 Mon Apr 02, 2018 8:34 pm
No new posts COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts CONDITIONAL USING COMP-2 WITH PROBLEMS. JOSUEGENTIL COBOL Programming 7 Wed Nov 08, 2017 11:13 pm
No new posts how can i move s9(9) to s9(9) usage comp HARENDRA CHOUDHARY COBOL Programming 3 Mon Nov 06, 2017 12:10 am

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