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

Record size increasing


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top