This page is a discussion on the mentioned topic. Most of the answers are in their original posted form, including any technical/spelling/grammatical errors. No guarantees are expressed or implied. :-)
Comments, corrections, concerns about this tip?
Hi,
I would like to make a dspdtaara for every dtaara named dsp* to an
outfile. Is that possible? (DSPDTAARA doesn´t do it)
(My problem is that we have a dtaara for every Session (Terminal or PC)
and in that dtaaras is saved, which printer is to be used from the
Session - and I would like to check this Data)
Answer(s):
With some quick and dirty programming this can't be a problem. I would
suggest to use following steps;
1. DSPOBJD the necessary *DTAARA to an outfile
2. Write a CL that reads this outfile and does a RTVDTAARA for each of them
3. Call an RPG program for each of them with name and contents to write to
a file.
This can be done in 10 minutes.