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
 

 

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: 964
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: 10274
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: 10274
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: 8118
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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