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
 
How to solve COBOL Error 34: Running Out of Bounds

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

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Sat Nov 26, 2005 9:36 pm    Post subject: How to solve COBOL Error 34: Running Out of Bounds
Reply with quote

hi,
i was facing a prob. while running a cobol prog.
it was writing to an output file.

it was constantly giving an error code of 34 .
" it meant writing out of bounds"

then i inserted few display statements along with every write
statement.

then after running the program.
i checked the spool.
i found some 1000 records were written in sysout.

at last i realised that the dd name used in cobol prog. n jcl used to

run were different

then made the dd names same n prog. run successfully.


the prob. is tat how were the first 1000 statements being written .
the job should hav abended at the very first write statement.

plz. do reply
Back to top
View user's profile Send private message

jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Nov 26, 2005 10:37 pm    Post subject:
Reply with quote

If you do not have a matching DD name in MVS then MVS will create a temporary file.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Nov 27, 2005 12:47 am    Post subject:
Reply with quote

I think that will depend on the LE Option value selected by your sysprogs.
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Mon Nov 28, 2005 11:12 pm    Post subject: Re: How to solve COBOL Error 34: Running Out of Bounds
Reply with quote

Thank u everyone.
all of u hav been very helpful
keep it up

bye.
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
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

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