Raider52
Member
Hello All:
Could someone please assist me How to use combination of STRPCO PCTA(*NO) and/or STRPCCMD PCCMD to execute a AS400 ".mac" Macro... I am using PCOMM with VBA the following VBA "calculated" code and I can only get the code to launch the AS400 macro in the noted folder. But I want to macro to post a Journal Entry on the AS400.
PRX = "STRPCO PCTA(*NO)"
PRG = "STRPCCMD PCCMD('V:\Journal_Test\NewTestScripts\JE#356BSB042 1.mac')"
I am not an AS400 expert, and Ihave been trying this for days and cannot get it to work. Let me know if you have any questions. Any help would be greatly apprecaited.
Many Thanks
Could someone please assist me How to use combination of STRPCO PCTA(*NO) and/or STRPCCMD PCCMD to execute a AS400 ".mac" Macro... I am using PCOMM with VBA the following VBA "calculated" code and I can only get the code to launch the AS400 macro in the noted folder. But I want to macro to post a Journal Entry on the AS400.
PRX = "STRPCO PCTA(*NO)"
PRG = "STRPCCMD PCCMD('V:\Journal_Test\NewTestScripts\JE#356BSB042 1.mac')"
I am not an AS400 expert, and Ihave been trying this for days and cannot get it to work. Let me know if you have any questions. Any help would be greatly apprecaited.
Many Thanks