Program Alias

Started by Jerry Fletcher, March 27, 2026, 09:29:26 AM

Previous topic - Next topic

Jerry Fletcher

Hello,

I read the prefix documentation but I'm not sure if I am in the right place.
Is there a way to do the following in pxplus?

We have a program ARHIST.
When we call / perform or run it we want the system instead to call/perform/run ARHISTV2.
Is this possible without changing ARHIST and all it's entry points?

Thanks

Jerry


Jerry Fletcher

Hi,

i think i figured it out. if i do somethign similar to this with a program it seems to work.

thanks

jerry

KEYED "PFXFILE",12
OPEN (1) "PFXFILE"
WRITE(1,KEY="ARFABC.SOA")"[odb]MAS90MFK;ARF_TermsCodeMasterfile;DB=MAS_AB
C;","KEY=TermsCode;REC=TermsCode:2+Description:30+DaysBeforeDue:3+DueDateADayOfMonth:1+DaysBeforeDiscDue:3+DiscDateADayOfTheMonth:1+
MinDaysAllowedInvDue:3+MinDaysAllowedDiscDue:3+DiscountCalcMethod:1,DiscountPercentage:19.7"
CLOSE (1)