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
 

 

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
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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