×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




We use TAATOOLS to do this all the time, for an OnDemand (RDARS)
application.
See code snippets below.

/* Retrieve the spools user data */
TAATOOL/RTVSPLFA SPLF(&FILE) JOB(&JOBNBR/&USER/&JOB) +
SPLNBR(&SPLNBR) FORMTYPE(&FORMTYPE) +
USRDTA(&USRDTA)

/* Save the user data so we can reset it after we do the CDSTORE */
CHGVAR VAR(&SAVUSRDTA) VALUE(&USRDTA)

... More stuff

/* Change user data to represent the hospital number */
CHGSPLFA FILE(&FILE) JOB(&JOBNBR/&USER/&JOB) +
SPLNBR(&SPLNBR) +
USRDTA(&USRDTA)

Bob Schwartz
Southeast Georgia Health System


----------------------------------------------------------------------

message: 1
date: Tue, 15 May 2007 08:46:46 -0500
from: "Turnidge, Dave" <DTurnidge@xxxxxxxxxxxxxxxxxxxx>
subject: RE: Spool file object

What are you trying to accomplish by changing the USER portion?

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Phil Kestenbaum
Sent: Tuesday, May 15, 2007 8:29 AM
To: RPG programming on the AS400 / iSeries
Subject: Spool file object

HI Is is possible to read a spool file - object information, and change
the USER portion ? .



Thank you,

Phil


This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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.