On Thursday, 02/02/2006 at 11:25 PST, Istgary <[EMAIL PROTECTED]> wrote: > I am trying to get VM spool members to VSE to be printed by PSF/VSE. I > have > found references on this list to many different methods of using 'CP > TAG' > but none have resulted in the actual retention of the '* $$ LST' info I > am > trying to pass. I am using RSCS, which I CP TRANSFER to his RDR. Here > is > what the closest SPOOL/TAG/CHANGE combination I have come up with: > 'CP TAG DEV PUN VSEOO2 CLASS U FORMS BPD1 CHARS GT12' > 'CP TAG FILE spoolid PWR07 VSEOO2 1 JOBNAME=PROFILE () USER=OPERATOR > CLASS=U FNO=BPS1 JSEP=(1,Y)' > > and then: > 'CP CHANGE P spoolid FORM BPD1 CHARS GT12' > > The result is a LST Q member with just the correct form of "BPD1" and > "CLASS > U" (not sure if CHARS is passed cause' you can't see this with a > PDISPLAY > LST,U,FULL=YES). The JOBNAME of "PROFILE' gets passed correctly. I > have > tried putting the $$ LST parms inside the parens, and also seperated by > commas, but RSCS seems to ignore them. > > Any clues???
Look at the CP TAG section of the RSCS Operation and Use book (near p. 267) to see all the options RSCS supports on TAG (skip to the NJE section). Your TAG DEV PUN has no effect on what happens on a TRANSFER; it affects only spool files you generate yourself. If you do generate your own spool files you should replace it with "SPOOL" as the syntax is suspect. It would expect: CP SPOOL 00D CLASS U FORM BPD1 CHARS GT12 CP TAG DEV 00D PWR07 VSE002 1 To TRANSFER: CP TAG FILE nnnn PWR07 VSE002 1 JOBNAME=PROFILE CP CH PRT nnnn FORM BPD1 CHARS GT12 CLASS U CP TRANSFER .... If you want to change the owning user or the JSEP option you will have to use an RSCS exit. (I keep thinking that Someone should write an NJE job exit that reads a file that could be used to generically associate keywords on TAG with NJE protocol field names.) It's important to remember that data on the TAG is solely for RSCS' consumption. It does not survive a trip through the network, but simply tells RSCS how to set certain fields in the NJE headers. If information is not present on the TAG, RSCS gets the information from the spool file itself. I.e. CLASS=B on TAG would override CLASS U on SPOOL/CHANGE. Alan Altmark z/VM Development IBM Endicott
