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

Not able to read all records in a file


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 23, 2012 11:03 pm
Reply with quote

Quote:
But in Anuj's example it will never get a S0C4.


even though Anuj's example is one (1) Fixed-Byte QSAM INPUT file?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Aug 23, 2012 11:22 pm
Reply with quote

At the time I mentioned the AWO the file's properties were still unknown.

No, it will not (according to the documentation) affect a QSAM FB, or anything except a QSAM VB.

I do not know whether a program only containing input QSAM VB (rather than containing at least one output QSAM VB) would do the same thing, ie use a record-area rather than addressing the buffer.

Some things to play with :-)

Plus, I am not suggesting that this is at all a "good thing". I'd advise anyone to specifically code APPLY WRITE ONLY for each QSAM VB output file and just have done with it. I think the compiler option AWO is a bad thing to use. It is for the lazy, and it is implemented sloppily.
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 -> COBOL Programming Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts To fetch records that has Ttamp value... DFSORT/ICETOOL 1
No new posts ICETOOL returns no records JCL & VSAM 1
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
Search our Forums:

Back to Top