View previous topic :: View next topic
|
Author |
Message |
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
Hi
I have a program which writes to file wihtout opening it.
Also program returns without closing the file.
Please let me know if the buffers are freed when the program returns without closing the file.
As my porgrams some times abend with S878 -10 abend. I think the progam donot have open and close file statments might be the cause.
Please suggest .
Thanks |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Why not try it with opens and closes and see what happens?
Had that occurred to you?
/RANT ON
I mean, really, gee whillikers folks, get serious - you're proessionals - just do it already.
/RANT OFF |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
music as a mainframe skill ...
maybe his clavier is not tempered as it should
I wonder how a program not opening and closing files could pass any basic ( very basic ) quality assurance.
why not fix the program to start with ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Possibly this module is using a file that is opened elsewhere?
Quote: |
and ... no I do not think that the TS refers to
MUSIC as in "McGill University System for Interactive Computing" |
Once upon a time (late 60's - early 70's), the first "programming languase" incoming freshmen were taught was - MUSIC (if i recall that stood for Miami University SImulated Computer). Miami University - Ohio, not University of Miami - Florida |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
sorry Dick for editing my post in between
I felt that a strict music reference would have made the post lighter
and I just wanted to joke around a little
( about the odd skills listed in the profiles ) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Enrico,
Quote: |
sorry Dick for editing my post in between
I felt that a strict music reference would have made the post lighter
and I just wanted to joke around a little |
Not to worry - only for a short while was i confused
Adding a bit of humor is often a very good thing.
Music is also a very good thing
Have a great weekend!
d |
|
Back to top |
|
|
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
included open and close statments and tried job still falis with S878 10 abend
while executing open statment in the code.
Also Region is coded as 0M in job still job fails with S878 |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
have you consulted with your site support group? Coding REGION=0M may have absolutely no impact if the job class you are running in is limited to the amount of region allowed. And they are the only ones who can tell you what the job class limits are at your site. |
|
Back to top |
|
|
|