Search found 6 matches
- Tue Mar 28, 2023 10:16 am
- Forum: HTTPAPI
- Topic: Retrieval of log file information
- Replies: 1
- Views: 2796
Retrieval of log file information
Hello, in the Log file how to retrieve this message in my program ? {"utilisateurID":["Unexpected character encountered while parsing value: }. Path 'utilisateurID', line 1, position 288.","Unexpected end when deserializing object. Path 'utilisateurID', line 1, position 5000...
Re: FOPEN(
I used this solution and it works great
data-into putapiwms_err
%DATA(%TRIM(IFSFILE)
:'DOC=FILE case=convert allowmissing=yes +
allowextra=yes trim=none countprefix=num_')
%PARSER('YAJLINTO');
Thank you for your help
it's very much appreciated
data-into putapiwms_err
%DATA(%TRIM(IFSFILE)
:'DOC=FILE case=convert allowmissing=yes +
allowextra=yes trim=none countprefix=num_')
%PARSER('YAJLINTO');
Thank you for your help
it's very much appreciated
Re: FOPEN(
Thanks jonboy for the advice So I removed O_CREAT and O_WRONLY I still have -1 when I come back from the IFSFILE OPEN You were asking me this question ... “Why are you not just jetting DATA-INTO read the file for you? “ I must use the OPEN function before making a DATA_INTO ?? right ?? If not, could...
Re: FOPEN(
Hello, I can not recover the contents of this Json file {"statut":"Error","evenementId":"4b0cfac1-377c-44e8-86f5-e6013725c465","validationResultats":[{"message":"L'evenement de stock ne permet pas de créer un lot car il ne contient pa...
Re: FOPEN(
Hello, first of all my apologies for the confusion
Indeed, it is the Open and Read function
It's a program I copied
Thank you for your reply
I'm going to do a test
Indeed, it is the Open and Read function
It's a program I copied
Thank you for your reply
I'm going to do a test
FOPEN(
Hello I would need help FD = FOPEN(%TRIM(IFSFILE) : O_WRONLY + O_CREAT + O_TRUNC + O_TEXTDATA + O_INHERITMODE + O_CCSID : 0 : 1208 : 1208); If (Fd < 0); FClose(Fd); Else; Bytesread = FRead(Fd:%addr(Dataread):%size(DataRead)); Data = %Subst(DataRead:1:Bytesread); Fclose(fd); CdeRetour = *Blanks; Endi...