Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

AccessCopybook via Linkage Section

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: AccessCopybook via Linkage Section
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: 3158
Location: Tucson AZ

PostPosted: Tue Feb 17, 2009 5:56 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Number of parameters in Linkage kregen COBOL Programming 4 Wed Jan 27, 2016 5:13 pm
No new posts COBOL Parmlist and Associated Linkage... Bill O'Boyle COBOL Programming 10 Fri Dec 20, 2013 9:43 pm
No new posts Linkage Section for Three programs Mr.Niceguy COBOL Programming 13 Sat Jun 01, 2013 7:21 pm
No new posts Sort - Header on Page Break and Secti... srinathds83 SYNCSORT 7 Mon May 13, 2013 11:31 am
No new posts Low-values in linkage parameter Robert Sample COBOL Programming 7 Thu Feb 28, 2013 2:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us