From ec14ffcf3f89449a41e02dabcb34dea1e17b9921 Mon Sep 17 00:00:00 2001 From: SJLennon <67484051+SJLennon@users.noreply.github.com> Date: Mon, 24 Jan 2022 20:19:17 -0500 Subject: [PATCH] Fix typs & omissions --- Copy_Mbrs/README.md | 4 ++++ USPS_Address/Readme.md | 25 +++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Copy_Mbrs/README.md b/Copy_Mbrs/README.md index a527b04..784d754 100644 --- a/Copy_Mbrs/README.md +++ b/Copy_Mbrs/README.md @@ -25,3 +25,7 @@ These are source files that will be copied into programs using /COPY or /INCLUDE * USADRVALDS Template Data Structure for the USADRVAL parameters. + +* USPHDR + + User Space Header Layout. diff --git a/USPS_Address/Readme.md b/USPS_Address/Readme.md index 51b3e05..df37b3a 100644 --- a/USPS_Address/Readme.md +++ b/USPS_Address/Readme.md @@ -1,4 +1,4 @@ -# USPS_Address - QSYS2_HTTP_GET calling the US Post Office webtools API AddressValidateRequest +# USPS_Address - QSYS2.HTTP_GET calling the US Post Office webtools API AddressValidateRequest USADRVAL is a service program in RPG Free which uses the QSYS2.HTTP_GET SQL function to call the USPS AddressValidateRequest API. The API returns a validated and standarized address (or an error) in an XML document, which is then parsed with the SQL XMLPARSE function and returned to the caller. @@ -18,17 +18,18 @@ This program uses a single address line, which is passed as ADDRESS2 to the API. (This program needs some additional coding to allow you to ignore the USPS standardized address.) +### USADRVAL + +The service program. + +Input address and output address are passed in the USADRVALDS data structure, which is found in [Copy_Mbrs](https://github.com/SJLennon/IBM-i-RPG-Free-CLP-Code/tree/master/Copy_Mbrs) + +A call looks like this: + + ``returned address = USAdrVal(input address);`` + +If ADDRESS2 is non blank, then you have a valid address. Otherwise find a description of the problem in the DESCRIPTION field. + ### USADRVAL_T A program to exercise USADRVAL with a some addresses, writing the input and output side by side to QSYSPRT. - -### USADRVAL - -The service program. - -Input address and output address are passed in the USADRVALDS data structure, which is found in [Copy_Mbrs](https://github.com/SJLennon/IBM-i-RPG-Free-CLP-Code/commit/c875b751e3ea6055ca295f35caef498b9067f7bb) - -A call looks like this: - ``returned address = USAdrVal(input address);`` - -If ADDRESS2 is non blank, they you have a valid address. Otherwise find a description of the problem in the DESCRIPTION field.