[bit.listserv.vmxa-l] Spool file tags

SSCP0055@HASARA11.BITNET (Marieke Tiecke) (02/06/90)

About 2 months ago we've moved from HPO to XA/SP2. Under HPO we used the
tag to pass information concerning print files. This tag info was also
accessible from service machines with class D authorization. Under XA
though this info can be obtained only if you transfer the spool file
to a service machine Q, which changes its spoolid too. We don't want this.
As a circumvention I wrote an exec to create an extra punch file with any
print file, but this doesn't work that nicely. What you would like is
is something like 'cp q tag file <userid> <spoolid>'. Would there be something
like that around?

Marieke Tiecke
Academic Computing Services Amsterdam
The Netherlands

REICHETZ@AWIIMC12.BITNET (Christian Reichetzeder) (02/07/90)

On Mon, 5 Feb 90 09:34:58 CET Marieke Tiecke said:
>...... This tag info  was also accessible from service machines  with class D
>authorization. Under XA though this info can be obtained only if you transfer
>the spool file to a service machine Q, which changes its spoolid too.
The TAG info is only available to the machine OWNING the file in XA as well as
SP or HPO (unless this has changed in HPO5 or you have some local mods). It is
true that with  XA every userid has  it's own set of  spoolids associated with
the files  owned by  it and therefore  the spoolid changes  when the  files is
transferred.
I assume the servers  right now simply do a TRANSFER and then  a TAG QU FI. If
the application is  written in REXX you can use  Diag(8,'TRANSFER ...') to get
the new spoolid.
  Newid = Word(Diag(8,'TRANSFER' userid 'P' spoolid '* R'),3)

Hope this helps
 Christian