Copy spool file in AFPDS to IFS stream as AFP.

50 pts.
Tags:
AFP
AFPDS
AS/400
AS/400 Spool Files
IFS
Spool files
How to copy the spool file in AFPDS format to IFS stream as AFP?

Software/Hardware used:
AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    AFAIK, there is no such thing as a streamfile format for AFP spooled files. You could convert it to .PDF or other format. If for some reason you must store it as a streamfile, you might use the Spooled File APIs to retrieve one or more user spaces and store them as streamfiles. The Open and Close Spooled File APIs could have the Get Spooled File Data API in between to get as many blocks as needed. The resulting streamfiles wouldn't be "AFP", but you could copy them back to user spaces and convert them back to a spooled file with the Put Spooled File Data API. With some planning, you could probably work up a method of combining multiple user spaces into a single streamfile and breaking it apart again later. Why are you thinking there is a streamfile format for AFP? Do you have a reference for it? Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following