IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

why we give S9(4) COMP for Length?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Feb 24, 2007 2:15 pm
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

Moderator Emeritus


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

PostPosted: Sun Feb 25, 2007 2:04 am
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: 3156
Location: Tucson AZ

PostPosted: Sun Feb 25, 2007 2:38 am
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

Moderator Emeritus


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

PostPosted: Sun Feb 25, 2007 4:54 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top