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
 
PL/I file buffer usage query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: PL/I file buffer usage query
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

Active Member


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

PostPosted: Fri Jul 23, 2010 10:44 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Sat Jul 24, 2010 9:08 pm    Post subject: Reply to: PL/I file buffer usage query
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

Site Director


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

PostPosted: Sat Jul 24, 2010 9:32 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Sat Jul 24, 2010 9:38 pm    Post subject: Reply to: PL/I file buffer usage query
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

Site Director


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

PostPosted: Sat Jul 24, 2010 10:32 pm    Post subject: Reply to: PL/I file buffer usage query
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    Post subject:
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: 8167
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 28, 2010 4:44 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

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