Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us