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

PL/I file buffer usage query


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Fri Jul 23, 2010 10:09 pm
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Fri Jul 23, 2010 10:44 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Jul 24, 2010 9:08 pm
Reply with quote

music as a mainframe skill ...
maybe his clavier is not tempered as it should icon_biggrin.gif

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jul 24, 2010 9:32 pm
Reply with quote

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 icon_cool.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Jul 24, 2010 9:38 pm
Reply with 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 icon_biggrin.gif
( about the odd skills listed in the profiles )
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jul 24, 2010 10:32 pm
Reply with quote

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 icon_smile.gif

Adding a bit of humor is often a very good thing.

Music is also a very good thing icon_cool.gif

Have a great weekend!

d
Back to top
View user's profile Send private message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Wed Jul 28, 2010 4:16 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 28, 2010 4:44 pm
Reply with quote

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
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top