Thanks Pete for your offer. I liked the idea of uploading the whole save file as opposed to copying & pasting the source code.
Everyone - the link is here:
http://www.opensource4i.com/downloads/20080701091653862/sfile.zip
I haven't had time to test this utility very thoroughly. I tested it on a few AFPDS spooled files and the command produced very satisfactory results. It might require some additional tweaking of the *WSCST object (source code included) to satisfy your requirements.
Have fun,
Goran
--- On Tue, 7/1/08, Pete Helgren <Pete@xxxxxxxxxx> wrote:
From: Pete Helgren <Pete@xxxxxxxxxx>
Subject: Re: AFPDS conversion to text
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Tuesday, July 1, 2008, 8:56 AM
Goran,
If you wanted to, you could post it to
http://www.opensource4i.com. You
can either save everything to a save file, transfer it to
your PC and
zip it and upload it. Or you could post it as a
"snippet" at that site
(although 900 lines isn't really a
"snippet").
I host the site, FWIW, and it is available to anyone in the
i community
to use.
Pete
Goran Saric wrote:
Hi Michael,
No problem - I'd be happy to share this modified
utility with the rest of the world. Since, I've never
done something like that, what would be the most elegant
way to do this? Copy & paste wouldn't work cause
there is around 900 lines of code...
Goran
Goran -
That would be a great utility to be released to the
community if you
were willing.
- Michael
On Fri, Jun 27, 2008 at 6:50 AM, Goran Saric
<goran_saric@xxxxxxxxx> wrote:
Unfortunately, the utility is restricted to QDLS,
but since they give you the source code, it's always
possible to fix that. It took me a couple of hours to
replace QHFOPNSF, QHFWRTSF and QHFCLOSF API's with
"open", "write" and "close"
and it works perfectly fine.
Goran
--- On Thu, 6/26/08, vhamberg@xxxxxxxxxxx
<vhamberg@xxxxxxxxxxx> wrote:
From: vhamberg@xxxxxxxxxxx
<vhamberg@xxxxxxxxxxx>
Subject: RE: AFPDS conversion to text
To: "Midrange Systems Technical
Discussion" <midrange-l@xxxxxxxxxxxx>
Date: Thursday, June 26, 2008, 12:58 PM
Charles
It's too bad IBM did not drink its own
kool-aid
regarding QDLS - but I kind of understand - I
mean, the
plethora of PL/I examples - isn't that a
favorite of
yours!! Even after it was no longer available.
This sounds like a nice replacement - of
course, we have
our products that do this, too. (Not a sales
pitch!!)
Vern
-------------- Original message --------------
From: "Wilt, Charles"
<WiltC@xxxxxxxxxx>
Vern,
Yeah, looks like it's an old utility
that does
only use QDLS...
Scott recommended
(http://archive.midrange.com/midrange-l/200802/msg00472.html)
using Uzaemon's
SPL2STMF command
(http://homepage1.nifty.com/uzaemon/)
as an IFS compatible
replacement.
Charles Wilt
--
Software Engineer
CINTAS Corporation - IT 92B
513.701.1307
wiltc@xxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of
vhamberg@xxxxxxxxxxx
Sent: Thursday, June 26, 2008 9:06 AM
To: Midrange Systems Technical
Discussion
Subject: RE: AFPDS conversion to text
Charles
I googled on HPTTOFLR - it appears to
be part of
the additional materials
for the Printing V Redbook.
There've been
several posts about it on these
lists.
I hope it is not restricted to sending
stuff to
folders, instead of the
rest of the IFS - the name of the
command gives
me pause.
Vern
-------------- Original message
--------------
From: "Wilt, Charles"
-----Original Message-----
From:
midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-
bounces@xxxxxxxxxxxx] On
Behalf Of
Goran Saric
Sent: Thursday, June 26, 2008
5:17 AM
To: Midrange Systems Technical
Discussion
Subject: Re: AFPDS conversion
to text
I use IBM supplied command
HPTTOFLR
(delivered "as is") and the above
defined WSCST object to create
ASCII
files in QDLS.
I don't have a HPTTOFLR
command on my
v5r4 machine.
Also, if you can use a file system
besides
QDLS you definitely want to
do so.
QDLS performs poorly
and has many limitations that the
other file
system do not have.
Charles Wilt
--
This is the Midrange Systems Technical
Discussion
(MIDRANGE-L) mailing
list
To post a message email:
MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change
list
options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email:
MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment
to review
the archives
at
http://archive.midrange.com/midrange-l.
This e-mail transmission contains
information that is
intended to be
confidential and privileged. If you
receive this
e-mail and you are not a named
addressee you are hereby notified that you
are not
authorized to read, print,
retain, copy or disseminate this
communication without
the consent of the sender
and that doing so is prohibited and may be
unlawful.
Please reply to the
message immediately by informing the
sender that the
message was misdirected.
After replying, please delete and
otherwise erase it
and any attachments from
your computer system. Your assistance in
correcting
this error is appreciated.
--
This is the Midrange Systems Technical
Discussion
(MIDRANGE-L) mailing list
To post a message email:
MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to
review the
archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical
Discussion
(MIDRANGE-L) mailing list
To post a message email:
MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list
options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review
the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the
archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.