To have the RPG compiler generate PCML 6.0 output, PTF 5770WDS-SI66801
should be installed. Also, one must set environment variable
QIBM_RPG_PCML_VERSION to the value '6.0'. For example:


ADDENVVAR ENVVAR(QIBM_RPG_PCML_VERSION)
VALUE(6.0) LEVEL(*SYS)

To specify varchar, here is an example:


<pcml version="7.0">
<program name="varchar">
<data name="bufferinDefault" type="varchar" length="100000"
usage="input" />
<data name="bufferoutDefault" type="varchar" length="100000"
usage="output" />
</program>
</pcml>

Assuming you do not embed PCML is program or service program, when you
deploy the program or service program, the web admin GUI will ask you for
a path to a PCML file.


"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 03/13/2019 02:40:23
PM:

From: Stephen Piland <Stephen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: "web400@xxxxxxxxxxxxxxxxxx" <web400@xxxxxxxxxxxxxxxxxx>
Date: 03/13/2019 02:52 PM
Subject: Re: [WEB400] IWS REST GET Variable Length PATH_PARM Input
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

I've done that and it looks like it created as V4.

2 questions...

How do I specify varchar data type? I looked at syntax and it only
allows char.
Does IWS find the PCML on IFS or will it allow me to specify where it
is?




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.