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

AccessCopybook via Linkage Section


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ranjitbhingare

New User


Joined: 30 Nov 2005
Posts: 94
Location: PUNE

PostPosted: Tue Feb 17, 2009 5:27 pm
Reply with quote

I have a input file with length having 10k approx record and copy book having very long record lenght approx 1 lac. Actually occur is applied in copy book and based on that lenght of record is calculated.

Now how will I access Input file with that copy book, while describing FD if I m writing copy book name it gives error that lenght of copybook is greater than maximum length.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Tue Feb 17, 2009 5:56 pm
Reply with quote

Appendix B. Compiler limits wrote:
RECORD CONTAINS integer 1,048,575 (5)

(5) Compiler limit shown, but QSAM limits it to 32,767 bytes.
Back to top
View user's profile Send private message
ranjitbhingare

New User


Joined: 30 Nov 2005
Posts: 94
Location: PUNE

PostPosted: Thu Feb 19, 2009 9:12 pm
Reply with quote

Hi,

Thanks for you quotes.

Issue is resolved.

Even though the copybook mentioned was provided as file layout, the actual file layout was different. It contained multiple records for a subscriber and the whole data needed to be processed in this format.

Thus used logic to read all records related to a subscriber and formated the input in given format by using driver program to read the file and combine related records in the given format and then used the formatted input for processing.

Regards,
Ranjit
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts OPTLINK linkage convention PL/I & Assembler 3
No new posts Sections: need one appearance of cer... DFSORT/ICETOOL 4
Search our Forums:

Back to Top