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
 

 

Record size increasing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kumar_ngl
Warnings : 1

New User


Joined: 05 Aug 2005
Posts: 50
Location: chennai

PostPosted: Sun Sep 18, 2005 12:28 pm    Post subject: Record size increasing
Reply with quote

Dear friends,

I have given a task to increase the record size of the COBOL program as well as in the JCL ..to make the file capable to contain more than 3500 records since the file was restricted with 3500 recs..

can any one gimme a sample code ..so that i can change my program

kumar.p.v
Back to top
View user's profile Send private message

sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Mon Sep 19, 2005 10:11 am    Post subject: Re: Record size increasing
Reply with quote

Hi,

I think you have to change in the cobol program.

Probably you may retrict with the record count.

Just increase your record count from 3500 to some other count.

If this is correct ok other wise please let me know the extact requirement.

Please explain in detail.

Thanks,
Sridevi
Back to top
View user's profile Send private message
Rama Nelluri

New User


Joined: 16 Sep 2005
Posts: 6

PostPosted: Mon Sep 19, 2005 1:37 pm    Post subject:
Reply with quote

Hi ,

If the file size is incresed in Cobol program it has to get reflect in RUN JCL.
1.Change the Record length in File section to current requirement length.
2.Present in Production if the code is restricted to write 3500 records then change the Perform Until para (for Input file, they might be count used in the Until para)
count from 3500 to current requirement.

Ex: Perform Infile-read para until wk-count = 5000 or Infile-Eof.
here i assumed the count to 5000.
Increment the wk-count when the record was written to output file.

Regards,
Rama.N
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 Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm


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