Search found 11 matches

by Gilamonster
Wed Oct 29, 2025 8:26 pm
Forum: Questions & Answers
Topic: Consuming RESTful web service via proxy server
Replies: 5
Views: 25259

Re: Consuming RESTful web service via proxy server

Hello All,

Facing a similar issue, when doing #Request.DoPost Url(#UrlBuilder) from an IBM i to an external API server when a Proxy is needed.

The request wait for 30 seconds then a CONNECTION_ERROR status is FALSE with error message : Failed to send outgoing data to the server ...
by Gilamonster
Tue Dec 17, 2024 9:34 pm
Forum: Questions & Answers
Topic: Adding BOM to csv
Replies: 4
Views: 60855

Re: Adding BOM to csv

Hi Romain,

No idea. But have you tried to use "Binary" instead of "Text" in the STM_FILE_OPEN Options (ie #FileOption := 'WRITE Binary LineTerminator=CRLF'
This should avoid code page conversion, and maybe doing the trick ?

Regards
Christophe
by Gilamonster
Tue Dec 17, 2024 12:40 am
Forum: Questions & Answers
Topic: Adding BOM to csv
Replies: 4
Views: 60855

Re: Adding BOM to csv

Hi Romain,

Have a look on the BIFs STM_FILE_WRITE and STM_FILE_OPEN
You can use a code page parameter in the STM_FILE_OPEN first optional argument

By example :

#FilePathMat := '/LANSA_ptdpgmlib/tmp/' + "CmdMateriel.csv"
#FileOption := 'WRITE Text LineTerminator=CRLF CodePage=1252 '

USE ...
by Gilamonster
Fri May 03, 2024 4:41 pm
Forum: Questions & Answers
Topic: LII0928W Error displaying language map.
Replies: 5
Views: 15152

Re: LII0928W Error displaying language map.

Hi Don,

The file should be in the partition directory (sorry, not in the "Execute" folder)
ie : <lansaroot>>X_WIN95>X_LANSA>X_ppp>LangMap.txt

In my V14 SP2 environment the file exists in each partition directory.

Regards
Christophe
by Gilamonster
Thu May 02, 2024 4:08 am
Forum: Questions & Answers
Topic: LII0928W Error displaying language map.
Replies: 5
Views: 15152

Re: LII0928W Error displaying language map.

Hi,

As workaround, try to rename the file LangMap.txt in the partition Execute Directory.
It seems that this issue has been fixed in EPCs post version 14.0

Regards
Christophe
by Gilamonster
Mon Apr 15, 2024 4:47 pm
Forum: Questions & Answers
Topic: [SOLVED] Lansa login error (function LH@PURG)
Replies: 4
Views: 27044

Re: Lansa login error (function LH@PURG)

Hi Stefano,
We encountered a similar issue with LH@PURG, a long time ago, with version 11.3 after a check-in which ended in error.
Please find below the answer received by LANSA Support at that time.

This is occurring because there appears to be some corrupt data in your LX_FLG internal table ...
by Gilamonster
Mon Jan 15, 2024 9:37 pm
Forum: Questions & Answers
Topic: How to Export Data to .XLSX Format Instead of .CSV ?
Replies: 8
Views: 161722

Re: How to Export Data to .XLSX Format Instead of .CSV ?

Hi Albert,

In French, the decimal separator is a coma so you cannot not use a coma as list separator. It is why in your regional settings the defautl value for List separator is a semicolon (;). So, if you use in VLF-ONE the MS Excel export feature you need to replace the default CSV separator by ...
by Gilamonster
Fri Jan 05, 2024 10:16 pm
Forum: Questions & Answers
Topic: How to Export Data to .XLSX Format Instead of .CSV ?
Replies: 8
Views: 161722

Re: How to Export Data to .XLSX Format Instead of .CSV ?

Hi Albert,

You have to check the list separator defined in your Windows Regional Settings.
By example, if you want to open CSV files produced by VLF-One one a French OS you need to change the list separator proposed by default.

£uSystem.DefaultCSVSeparator := £MyCSVseparator /*Séparateur de ...
by Gilamonster
Sat Nov 18, 2017 2:06 am
Forum: Questions & Answers
Topic: VLF-ONE : How to retrieve Users and Groups
Replies: 1
Views: 3731

VLF-ONE : How to retrieve Users and Groups

Is there a way unsing VLF methods to retrieve a list of Users and Groups defined in VLF-ONE (ie : File VFPPP06) ?

By example with VLF Win I was able to retrieve the Groups belongings to User connected using the code below :

Mthroutine Name(uGetGroupsUser)
Define_Com Class(#vf_FP005) Name ...
by Gilamonster
Thu Oct 26, 2017 6:24 pm
Forum: Questions & Answers
Topic: VLF-ONE : Instance List Browser
Replies: 3
Views: 7069

VLF-ONE : Instance List Browser

If we programmatically hide a column of the instance list using the code below:

Set Com(#AVLISTMANAGER.InstanceListBrowser.AColumns<1>) Columnvisible(False)

How can we reflect this change in the "Show, Hide or Reorder columns" panel?
...to get the presentation below :

PanelHide.png
by Gilamonster
Thu Jun 15, 2017 4:41 pm
Forum: Questions & Answers
Topic: VLFONE : Change the default SessionIdentifier
Replies: 1
Views: 4803

VLFONE : Change the default SessionIdentifier

Is it possible to use another SessionIdentifier than 'VLFONE" ? If yes, how can we do it ?

Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_SRVM) Sessionidentifier('VLFONE')

Thanks in advance for your help.