× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Another trick I have done also is to create a data structure in the RPG
program for the resulting XML message making each field in the data
structure 1000 characters long. Then you can run the program in debug and
look at your fields in the data structure and it will show you the XML
with the variables replaced with the actual data so you can see if it is
what you want. Otherwise debug only shows you the first 1000 characters
and most of the time the XML if way longer. You can also then copy the
XML to Notepad and paste it together removing the extra quotes and the you
can copy into the simulator and run it there if you are having issues.




From: "Otto Meyn" <meyno@xxxxxxxxxxxxxxxxxx>
To: "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx>
Date: 02/06/2013 03:44 PM
Subject: Re: [MAPICS-L] Re System-Link
Sent by: mapics-l-bounces@xxxxxxxxxxxx



Yes to all the below information, But I did not use a Packed field for
the numeric.

I'll have to give it a try.



-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of
tim.rutz@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, February 06, 2013 4:34 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Re System-Link

So in your MSG you have XML that might have a section that looks like
this.

<Property path=''supplementaryWeight''> <Value><![CDATA[&4]]></Value>
</Property>

This represents the 4th variable being passed to the message. Then in
the FMT section of the MSG you need to say that the 4th variable is
(*DEC 9 4) in my case. In the RPG program that then formats the data
for the message I have a data structure setup for each message used and
I define my fields in the data structure like this.

D MD0021 DS
D wItem21 15A
D wDesc21 30A
D wItem31 15A
D wWegh 9P 4

Are you using the API

Call 'QMHRTVM'

to build your completed message?

Tim



From: "Otto Meyn" <meyno@xxxxxxxxxxxxxxxxxx>
To: "MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx>
Date: 02/06/2013 03:17 PM
Subject: Re: [MAPICS-L] Re System-Link
Sent by: mapics-l-bounces@xxxxxxxxxxxx



I'm using PowerLink to create my XML, copy & past into a CL program,
which is used inside the MSG of an ADDMSGD command.

The CL then calls a RPGLE to Pars and initializes the SystemLink
request.

My Wrapper then logs on read my file to update powerLink then Logs off.

My problem is passed a decimal (10.3) from my file into the MSG of
ADDMSGD command. An integer appears to be NO problem.

The MSG via XML appears to accept Alpha data only (CDATA).

SO, can I use a value with decimal(s) OR do they always need to be
converted to an ALPHA field being careful to position the decimal in the
correct character position.





-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx]
On Behalf Of Charles Hood
Sent: Wednesday, February 06, 2013 4:02 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Re System-Link

Hello Otto,

What programming language are you using to create your System-Link
XML request? RPG ILE? Java? Some other language?


Charles Hood | Sr. Programmer/Analyst | Information Systems Engineering,

Inc. | P.O. Box 121 | Oconomowoc, WI 53066 | www.ise-erp.com office
262.354.3194 | fax 262.567.6588


For the latest information please visit the System i microsite
www.infor.com/systemi See How ION Will Transform the Way You Do
Business:
http://www.youtube.com/watch?v=sXcDXsf0eIo&feature=g-user-u

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx]
On Behalf Of Otto Meyn
Sent: Wednesday, February 06, 2013 1:23 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Re System-Link

It is a 3 decimals

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx
[mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of
tim.rutz@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, February 06, 2013 11:35 AM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Re System-Link

Are you having trouble with all decimal values, or only when they have 1

position behind the decimal? Infor was having issues with fields
defined
as 2,1 and 3,1 for a while. Make sure you are up to date on your
patches.





From: "Otto Meyn" <meyno@xxxxxxxxxxxxxxxxxx>
To: "MAPICS-L SUBMIT" <MAPICS-L@xxxxxxxxxxxx>
Date: 02/06/2013 10:20 AM
Subject: [MAPICS-L] Re System-Link
Sent by: mapics-l-bounces@xxxxxxxxxxxx



I'm starting to use System-Link for the first time. GREAT tool.



But I'm having problems passing a decimal value define like 10.3



Can anyone help?



Thanks ahead of time.

--
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a
message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change
list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.




The information transmitted in this e-mail is intended only for the
person
or entity to which it is addressed and contains confidential and/or
privileged material. This material may further be covered under a
separate
nondisclosure agreement. Any review, re-transmission, dissemination or
other use of, or pursuing of any action in reliance upon this
information
by persons or entities other than the intended recipient is prohibited.
If
you have received this communication in error, please first notify the
sender immediately and then delete this communication from all data
storage devices and destroy all hard copies. Please consider the
environment before printing this email.
--
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a
message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change
list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.

--
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a
message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change
list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.



--
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post
a
message email: MAPICS-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change
list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/mapics-l.


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-2024 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.