Yeah, the RDWInputStream is unfortunately not an "SDWInputStream" :-)
Yes - if you read a VBS dataset with "fromdsn" (either the local version or via the Co:Z Launcher), it will read entire the entire assembled record. If you then use "-l rdw" it will put an RDW in front of the assembled record. But there's not much code in RDWInputStream; its not too difficult to write your own SDWInputStream. Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Nov 26, 2009 at 12:09 PM, John McKown <[email protected]> wrote: > On Thu, 2009-11-26 at 09:13 -0600, Kirk Wolf wrote: >> SMOP: >> >> int len = rdwInputStream.read(recbuf, 4); >> int rdw = (len+4)<<16; >> ByteUtil.putInt(rdw, recbuf, 0); >> > > Yes, that will do it. I posted another error/problem on the JZOS forum. > My SMF data on the PC is VBS and is still segmented. FTP transfers it as > segmented and does not coalesce the multiple segments into a single > logical record. Also RDWInputRecordStream returns each segment > independently with no indication that the logical record is part of a > segmented series of records. IOW, it cannot be successfully used to > process VBS records on the PC. So much for using it for my SMF > processing, unless I preprocess the SMF data from VBS to a VB dataset > first and download the VB dataset. I don't know if Co:Z's tranfer with > the RDW option coalesces the segments of a segment record into a single > VB record or not. > > This was with JZOS 2.3.2 from Alphaworks. > > -- > John McKown > Maranatha! <>< > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

