Correct, a typo. Too long at the keyboard.
As to questions regarding RDI, I couldn't decide on which it was since the program is RPG and actually should have (I thought) little to do with the RDI environment itself, but more related to the system environment overall. With that in mind, maybe it should have been a "midrange-l" question, but then again, it is the way of RPG in use of a system function. So confusing.
Duane
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Mark Waterbury
Sent: Thursday, April 23, 2020 1:00 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: QCMDEXE behavior modification
Duane,
No API named "QCMDEXE" but perhaps you meant "QCMDEXC" and it was just a "typo"?
Also, "system()" is just a "wrapper" for "QCMDEXC", so, I do not think you will find anything different about the behavior either way.
For your other questions, this is probably not the correct list; you would be better served to ask RDi related questions on the WDSCi-L list ... see:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.midrange.com_-23lists-C2&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=xacPlZoHCVY3h533HazdIJmI527TYVdJ83nYCvEzxfw&e= for a list of lists, and to join, etc.
Hope that helps,
Mark S. Waterbury
On Thursday, April 23, 2020, 11:35:43 AM EDT, Duane Scott <dscott@xxxxxxxxxxx> wrote:
I've made an assumption here based on observations, and I may be incorrect (and most likely am), but I have no other explanation. Hopefully, in as kind of a manner as is usually displayed in this group, I can be corrected and put on the right path.
I've created an SQL based RPGLE program that I use to convert RPG IV to RPG Free. In it, I utilize the SYSTEM() function to compile the original source, copy the spooled file to a source file member, and search for various information like c-spec created variables. The problem is that when running the program using the RDI "user action", the compile spool file job number is not the same as the job number of the job that issued the "user action".
I don't know why, but it uses a job associated with my user id, but not one of the current active jobs. Not sure what job that is and why it uses it. Nor do I know how to discover what the spool file job number is.
I believe that this is also an issue with other development environments other that RDI, so I don't think it's an "RDI" problem, but one associated with SYSTEM() and similar. I haven't tried QCMDEXE to see if that is different. Maybe I should?
Any known answers?
Duane
CONFIDENTIALITY NOTICE: This electronic message transmission is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. If you have received this transmission, but are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this e-mail in error, please contact NALC Health Benefit Plan at 703-729-4677 and delete and destroy the original message and all copies.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=Os3bEwAlbO6khn5silp_rlBmFKotgCvrXsGlDsYYBz4&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=0GtMAHwPJ9exFub8otGPPT2QcYSeerqeR09YbdOqQ5g&e=.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=_Pqln9ebnX2wKTuph1G6NuyYKXIg2UPu7y0QoRVGe6U&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=gjZG-h40LgQV_-dEwj9GgNXkmde53ruI5vPO18xEb7A&e= with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=Vx85Qz_zFOjxGTRDh3DXFSASH2Yxg2ZcTIBTCm0NQ98&e=
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=Os3bEwAlbO6khn5silp_rlBmFKotgCvrXsGlDsYYBz4&e=
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_rpg400-2Dl&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=0GtMAHwPJ9exFub8otGPPT2QcYSeerqeR09YbdOqQ5g&e=.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=_Pqln9ebnX2wKTuph1G6NuyYKXIg2UPu7y0QoRVGe6U&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=gjZG-h40LgQV_-dEwj9GgNXkmde53ruI5vPO18xEb7A&e= with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LifWsbmXTz4aXbMMEwOi1aJ3sWD5nsP_QI4reJ8MbDM&m=EfQIwF-2s6KavgmXLI-_fFtQx-cMxUGiDfgDc7t7Zdk&s=Vx85Qz_zFOjxGTRDh3DXFSASH2Yxg2ZcTIBTCm0NQ98&e=
As an Amazon Associate we earn from qualifying purchases.