Link to home
Start Free TrialLog in
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)Flag for Belgium

asked on

Merging AFPDS spool files

Hi all,

I am taking my first steps in programatically manipulating AFPDS spool files.
The files are there, I have to merge them, just joining...
2 files of 2 pages should become 1 file of 4 pages.
Is that as straightforward as I think it is?
Can I get some hints on how to do it?
Can someone point me to a good resource to understand the AFPDS format?
thanks

Gertone
Avatar of daveslater
daveslater
Flag of United States of America image

Hi
this is not as easy as you may first think.

You will need to delv into user space and API programming in order to get the spool file data - even then it may not work.

Dave
Avatar of Member_2_276102
Member_2_276102

Agreed. It's hard enough getting this kind of thing done for SCS spooled files much less AFPDS. This is _not_ for the faint of heart.

Tom
Avatar of Gertone (Geert Bormans)

ASKER

OK, I understand it is though,
still I have to do it.
Any usefull hints?
Tools out there I can use?
Thanks

Geert
Hi
Ok we shall begin - download the User space tools from:

http://www.netshare400.com/cgi-bin/DSPSAMP?file=QRPGLESRC&mbr=FUSP

Get them compiled - I will look into the API side to things.

Dave
Ps
this may take some time - If it is urgent then best get expectations set.

It will be trial and error for us all :-)

Dave
Questions:

Is this a project that should handle _any_ two (or more) AFPDS spooled files? Or is it for two specific AFPDS spooled files? Are these spooled files simply described as AFPDS or do they make significant use of AFPDS facilities? (I.e., are there various external AFPDS resources used? Are images included? fancy print options? Other? Or are these just regular lines of print that just happen to be sent as AFPDS files?)

If we're talking simple line printer output as AFPDS, this is probably reasonably doable. OTOH, if this must account for multiple external and unpredictable AFPDS resources, might as well plan for it taking a few months.

Tom
ASKER CERTIFIED SOLUTION
Avatar of daveslater
daveslater
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi all,

can not say my problem is completely solved, but...
I learned how to get started, will do some research now based on the answers received.
And will definitely reopen this tread as soon as I feel ready to get started.
Thanks for all the help sofar.
I will split the points in what I think being a fair split.
I hope I don't hurt anyone's feelings... I will need your help later I guess :-)

Gertone