On Tue, 18 Dec 2007 09:38:10 -0600, Kirk Wolf wrote:

>You can also use the "fromdsn" shell command, which is part of our free 
>"Dataset Pipes" product.
>There are *many* advantages over readmvs, including the ability to allocate 
>the dataset with DISP=SHR.
>
>See:
>http://dovetail.com/docs/dspipes/man/fromdsn.html
>
>Regards,
>Kirk Wolf
>Dovetailed Technologies
>
>On Dec 18, 2007 8:10 AM, Mark Zelden wrote:
>
>> On Mon, 17 Dec 2007 23:43:58 -0500, John S. Giltner, Jr.
>> wrote:
>> >
>> >@records = '/usr/local/bin/readmvs "//MVS.FILE.NAME"'
>> >foreach $line (@records) {
>> >}
>> >
Can this solution be adapted for a data set too large to
fit in main memory?

>> readmvs and writemvs are not part of the IBM Ported Tools for z/OS
>> (Perl for z/OS).   They _are_ free tools available on the z/OS UNIX Tools
>> and Toys download page / web site.
>>
>> http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1ty2.html
>>
Does this work of the data set contains binary data?  Perl
is supposed to be good at handling such arbitrary data;
I understand it treats NUL, e.g. as an ordinary character.

I looked at the dovetail web site lately.  Dspipes supports
conventions for handling binary data.  Interfacing to perl
would likely require some plumbing.

-- gil

----------------------------------------------------------------------
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

Reply via email to