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: 6965
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 All times are GMT + 6 Hours
Forum Index -> COBOL Programming Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
Search our Forums:


Back to Top