PDA

View Full Version : Sending DSPTAP to an OUTFILE



Guest.Visitor
01-01-1995, 02:00 AM
Wants to send data from a DSPTAP to an outfile - when DSPTAP is entered from command line and parameters are set for *SAVRST get this message: DATA(*SAVRST) cannot be specified with OUTPUT(*OUTFILE). In a CL program when the parameter is set to *LABELS get this message * CPD0043 30 Keyword OUTFILE not valid for this command. Would welcome any tips/ hints on how to get this DSPTAP to an outfile. Thanks

Guest.Visitor
06-28-2000, 01:47 PM
Bill - I tried this and did not get the CPD0043 message using *LABELS in a CL or interactive. What OS/400 version are you on? I did get the same results as you using *SAVRST. F1-Help says that this is because you can get a outfile when you perform the SAVE operation (which is true). Where are you going with this? Steve

B.Myrick
06-28-2000, 01:47 PM
Bill, Check your keywords. Don't remember them off the top of my head, but I wrote a system for logging tapes and restoring from them a few years ago. I used DSPTAP to an *OUTFILE for this process. Would DSPTAP to get the library/file and physical position on the tape(s). The operator would provide the TAPE ID up front and the CL handled the save, dsptap and such. Hope this helps, Bret

Guest.Visitor
06-29-2000, 01:02 PM
Steve, I found the problem - my mistake - previous administrator set our default when compiling to V3R2M0 - when I tried the compile and changed it to V4R2M0, it works just fine. Thanks for your help in sending me on the right track. Bill