|
Couple of things: 1) Add a program status data structure. Check out the various fields that QCMDEXC will update in the PSDS. 2) Run this sucker in debug to make sure that the QCMDEXC actually executes. The one advantage that QCMDEXC has over system() is that you can get a little more detail in the PSDS, but if you're not going to use that... However QCAPCMD is a serious contender to both of them. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Bill Hopkins" <BHopkins@xxxxxxxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 09/23/2003 08:03 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG400-L@xxxxxxxxxxxx cc Subject CPYTOIMPF in RPGIV v5r1 I have a RPGIV program v5r1 that uses CPYTOIMPF by pr extpgm(QCMDEXC) it seems to sometimes not replace the file that is there (based on date/time stamp seen though Windows Explorer). Authority is public *all on files (in PF,in IFS on iSeries and in Operation Nav). Any one have this happen before? Note when this happens I can manually run command on iSeries and it will work. Thanks Bill Hopkins Comments, Questions, or "Knocks in the Head" welcomed. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.