Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

programmatically get the list of spool file in vb.net

317 views
Skip to first unread message

Dal Monte

unread,
Jun 16, 2011, 5:06:16 PM6/16/11
to
Hello all,
i'm trying to get a list of spool file, and retrive a selected spool file
from vb.net using soa. The problem is that i'm not able to find a
documentation abount cwbx methods/property. What i has been able to do is
connect to the as400 and make a call, but i cound not find any soa
documentation about out to retrive the list of spool file and how to retrive
one. I'd only find a c example of how to do it, but the methods (like
CWBSO_CreateListHandle) are not applicable to vb.net...

could someone help me?

thanx in advance
D.


JTF

unread,
Jun 19, 2011, 10:27:46 PM6/19/11
to
There are several (paid and free) tools out there to make a PDF. I believe there may also be a way to do it through the OS (need to check though)

My idea is to have the program in question create a PDF version of the print-out(s) and store them in an IFS folder. Through VB, you can just get the PDF from an IFS share.

Dal Monte

unread,
Jun 22, 2011, 6:17:54 AM6/22/11
to

"JTF" <jfl...@gmail.com> ha scritto nel messaggio
news:39be369a-6b7a-4b2f...@glegroupsg2000goo.googlegroups.com...

I would like to make it inside my app, but i could use also a free tool (but
not printing to a virtual printer like pdfcreator because the result it's
very bad!). My gol it's to have a spool file in excel... i seen an java
procedure working for this (released by ibm) eventually, it there isn't an
other solution i'll call that procedure by vb, but for me it's a "dirty"
solution...

thanx in advance
D.


Jonathan Ball

unread,
Jun 22, 2011, 9:43:49 AM6/22/11
to

Try the Open List of Spooled Files (QGYOLSPL) API:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Fqgyolspl.htm

The documentation link is for V5R4 of the operating system.

Qwerty

unread,
Jun 22, 2011, 11:43:44 AM6/22/11
to
0 new messages