|
> From: Alberty Pascal > > Not for me ... I thing that my problem is more relative to my > second command > which is a call to DTM. Here is my code run in the VAJ's scrapbook: > > AS400 as400 = new AS400(***, ****, ***); > CommandCall cmdCall = new CommandCall(as400); > String cmd1 ="OVRPRTF FILE(QSYSPRTF) SAVE(*YES) OVRSCOPE(*JOB)"; > String cmd2 = "DTM400/PRTDTMDOC DOC(K05092.001) > DIR('/qdtm/docf021') OUTQ(QUSRSYS/PRTBP01) HOLD(*YES) DATASTM(*AFP)"; > System.out.println(cmdCall.run(cmd1)); > System.out.println(cmdCall.run(cmd2)); > as400.disconnectAllServices(); >Have you tried running these two commands from a green screen command line >to see if the spooled file ends up with the SAVE attribute set? These commands (but first one without ovrscope(*job) run from a greeen screen generate a spool with save attribute I'm still searching. Thanks for your help Pascal
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.