× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Kevin,

I had a look on your code... I think that you do not handle spooled files
16MB... (max size of a single user space)..
The logic would be to use QSPGETSP and store the data in multiple
userspaces (create a new user space if you get CPF3CAA )
then read all userspaces and use QSPPUTSP.. to create the new spooled
file

I wrote a program to do this some years ago... but unfortunately I am not
authorized to share the source code it as it is not "open source"...

Paul




From: "Kevin Bucknum" <Kevin@xxxxxxxxxxxxxxxxxxx>
To: <midrange-l@xxxxxxxxxxxx>
Date: 31/07/2015 19:46
Subject: Duplicating large spoolfiles (greater than 16m)
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



This comes up every now and then, and several options are always
presented, but I've never been able to find a complete program using the
API's. Based on something that Tommy Holden posted at
http://webcache.googleusercontent.com/search?q=cache:HkiFuHDAUvoJ:iprode
veloper.com/forums/aft/135681+&cd=2&hl=en&ct=clnk&gl=us I came up this.

http://code.midrange.com/0ae8a6e14f.html



The original post had copied in a spec for SPLA0100 instead of SPLA0200,
and I also added the ability to change hold and save parameters as we
used those with DUPCHGSPLF which doesn't handle the files greater than
16 megs.



Just adding the below for people searching for a solution:

CPA0702

QSPGETSP

QSPPUTSP

-

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.