it's work
tks Scott
Search found 11 matches
- Thu Sep 12, 2024 1:23 pm
- Forum: General
- Topic: Call a web page
- Replies: 7
- Views: 30106
- Wed Sep 11, 2024 12:51 pm
- Forum: General
- Topic: Call a web page
- Replies: 7
- Views: 30106
Re: Call a web page
With the following command lines, I was able to open a web browser, except that a DOS window opens first. Maybe you have something else to suggest to me. Here is my code:
STRPCO
MONMSG MSGID(CPF0000)
STRPCCMD PCCMD('start https://www.Google.ca/.')
STRPCO
MONMSG MSGID(CPF0000)
STRPCCMD PCCMD('start https://www.Google.ca/.')
- Wed Sep 11, 2024 7:03 am
- Forum: General
- Topic: Call a web page
- Replies: 7
- Views: 30106
Re: Call a web page
Hello Scott, no, I don't expect the web page to work in the emulator.
I want the emulator to open a web browser.
Yes, it's the IBM 5250 emulator from Client Access, it's on Windows.
I want the emulator to open a web browser.
Yes, it's the IBM 5250 emulator from Client Access, it's on Windows.
- Tue Sep 10, 2024 3:43 pm
- Forum: General
- Topic: Call a web page
- Replies: 7
- Views: 30106
Re: Call a web page
What I mean is opening a web page via the AS400.
For example, I am on the AS400 in a screen, I press F5, and the web page https://www.scottklement.com/forums/pos ... eply&t=528 opens.
For example, I am on the AS400 in a screen, I press F5, and the web page https://www.scottklement.com/forums/pos ... eply&t=528 opens.
- Tue Sep 10, 2024 3:16 pm
- Forum: General
- Topic: Call a web page
- Replies: 7
- Views: 30106
Call a web page
Hello everyone, I don't know where to post my question.
My question is the following: Can I call a web page via an AS400 program, for example when I use a function key like F5? If yes, how? Could you provide an example of code, please?
My question is the following: Can I call a web page via an AS400 program, for example when I use a function key like F5? If yes, how? Could you provide an example of code, please?
- Tue Mar 28, 2023 10:16 am
- Forum: HTTPAPI
- Topic: Retrieval of log file information
- Replies: 1
- Views: 6737
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."]}
comm_blockread ...
{"utilisateurID":["Unexpected character encountered while parsing value: }. Path 'utilisateurID', line 1, position 288.","Unexpected end when deserializing object. Path 'utilisateurID', line 1, position 5000."]}
comm_blockread ...
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 ...
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 ...
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 pas d'Article","logLevel":"Error"}]}
The code :
dcl-ds ...
{"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 pas d'Article","logLevel":"Error"}]}
The code :
dcl-ds ...
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