[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Basic Entry Parameter Question
D EXCHRATE PR ExtPgm('EXCHRATE')
D Country1 3A const
D Country2 3A const
D Amount 15P 5 const
Basically defines what parameters are expected by the program EXCHRATE.
Whereas:
D EXCHRATE PI
D Country1 3A const
D Country2 3A const
D Amount 15P 5 const
Is essentially you *entry plist
The "fields" on the PR are not usable in your program the names are basically "comments" to tell what is being defined. The field names on the PI are actually fields and can be used in your program, however since they are defined as CONST the contents of those fields can not be changed.
Thanks,
Tommy Holden
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Machado Nicolás Guillermo
Sent: Friday, October 27, 2006 12:53 PM
To: HTTPAPI and FTPAPI Projects
Subject: Basic Entry Parameter Question
Hi Scott, one basic question
In the example that you provide few months ago, you have a program that receives 3 parameters, but there is no "*ENTRY PLIST" on the source,
Instead it have the folowing lines :
D EXCHRATE PR ExtPgm('EXCHRATE')
D Country1 3A const
D Country2 3A const
D Amount 15P 5 const
D EXCHRATE PI
D Country1 3A const
D Country2 3A const
D Amount 15P 5 const
This work just like "*ENTRY PLIST" operators ??
I assume that yes, but I need to know why.
Best Regards, Nicolas
..:Nicolás Machado
IT/SAR
Scania Argentina S.A
+54.3327.45.1171
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------