Search found 6 matches

by IvanR
Thu Nov 21, 2019 1:28 am
Forum: Questions & Answers
Topic: Cannot read JSON file with CCSID 37
Replies: 1
Views: 4422

Cannot read JSON file with CCSID 37

I am parsing a JSON file (screens.jsn) created by Axes but getting an error "The JSON root element must be either an array or an object (offset = 0)". This is how my code looks like:


Define_Com Class(#XPRIM_JsonReader) Name(#JSONReader) Reference(*DYNAMIC)
Define_Com Class(#XPRIM_ErrorInfo) Name ...
by IvanR
Thu Jan 31, 2019 4:11 am
Forum: Questions & Answers
Topic: Calling RPG program via DEF_MTH_EX / DEF_MAP_EX
Replies: 2
Views: 6734

Calling RPG program via DEF_MTH_EX / DEF_MAP_EX

I've been working on a Web Service that call a function wrappering a reusable part that calls an RPG program. The RPG is called using DEF_MTH_EX / DEF_MAP_EX, and returns a number of NChar and Date parameters. It didnt sends me an error back (or nothing I can see from the logs) but not returning any ...
by IvanR
Fri Nov 24, 2017 4:39 pm
Forum: Questions & Answers
Topic: How to get the value of Framework USERSET
Replies: 2
Views: 5283

Re: How to get the value of Framework USERSET

Thanks MarkDale for the reply.

A colleague pointed out that you can get the value using uFramework.uUserPropertySet.
by IvanR
Wed Nov 22, 2017 5:51 pm
Forum: Questions & Answers
Topic: How to get the value of Framework USERSET
Replies: 2
Views: 5283

How to get the value of Framework USERSET

I am creating a list of all Framework Users and Groups from VFPPF06 and VFPPF07. Part of the file key is the User Set defined in the Framework. How do you get the User Set value?

Capture.JPG
Capture.JPG (20.32 KiB) Viewed 5283 times
by IvanR
Tue Nov 21, 2017 9:23 pm
Forum: Questions & Answers
Topic: ERROR MESSAGE: Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING'
Replies: 2
Views: 4602

Re: ERROR MESSAGE: Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING'

Thanks Mark. We figured a problem on EPC level. The error was gone (avExecuteDefaultCommand is working) after correcting the installation.
by IvanR
Fri Nov 17, 2017 2:51 am
Forum: Questions & Answers
Topic: ERROR MESSAGE: Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING'
Replies: 2
Views: 4602

ERROR MESSAGE: Object doesn't support property or method 'mthGETCOMPOSITEKEYSTRING'

I create a customs instance list that extends from #VF_AC0120. I used 'ExecuteDefaultCommand' to show the default command. The code below appears to work fine before the EPC upgrade.


00274 Evtroutine Handling(#CodesList.ItemGotFocus)
00275
00276 Define_Com Class(#vf_lm003O) Name(#DataItem ...