Thanks - that's nice to know Dmitry.
I'll be getting back to it in a couple of weeks and give it a shot.
Search found 112 matches
- Fri Jan 20, 2023 11:55 pm
- Forum: HTTPAPI
- Topic: Using OAUTH2 with HTTPAPI
- Replies: 4
- Views: 142
- Wed Jan 18, 2023 7:40 pm
- Forum: General
- Topic: Unit test framework for IbmI
- Replies: 1
- Views: 825
Re: Unit test framework for IbmI
A number of people are using IBMiUnit as well as one or two others. This branch https://github.com/worksofliam/IBMiUnit is several commits ahead of the one you referenced and will incorporate easily with the Code for i extension to VS code. Try asking this on RPG400 list at midrange.com as there are...
- Wed Jan 11, 2023 6:27 pm
- Forum: HTTPAPI
- Topic: Using OAUTH2 with HTTPAPI
- Replies: 4
- Views: 142
Re: Using OAUTH2 with HTTPAPI
That was pretty much the conclussion that I had rereached Scott - but I know from some remarks from Brad that he apparently has a way of auto refresshing the token becuase they do time out. I confess I have not checked the validity duration for the Zoom tokens - it may be that it is a moot point and...
- Thu Jan 05, 2023 9:02 pm
- Forum: HTTPAPI
- Topic: Using OAUTH2 with HTTPAPI
- Replies: 4
- Views: 142
Using OAUTH2 with HTTPAPI
Has anyone used HTTPAPI in a situation where OAUTH2 was required? I have been happily using Zoom's JWT API interface for a couple of years but they are dropping support for that soon and I have to switch to OAUTH2 instead. I'm having a bit of a brain fart getting my head around the callback aspect o...
- Sat Dec 24, 2022 4:41 pm
- Forum: Other ScottKlement.com Tools
- Topic: Data issue while transferring data From Mainframe to IBM i
- Replies: 8
- Views: 292
Re: Data issue while transferring data From Mainframe to IBM i
You appear to be using a valid approach BUT you still haven't posted the data definition you were given OR the details of the definition you created. How can I tell what you've done wrong without the information? My guess is you have misunderstood the definitions but if you post them I can tell you ...
- Fri Dec 23, 2022 8:44 pm
- Forum: Other ScottKlement.com Tools
- Topic: Data issue while transferring data From Mainframe to IBM i
- Replies: 8
- Views: 292
Re: Data issue while transferring data From Mainframe to IBM i
What does the defintion of the file look like? Both on the mainframe side and on the IBM i? I'm having a flat PF. I guess I am not making myself clear. On the mainframe side I meant the COBOL definitions of the file's fields. i.e. the FD layout in the COBOL. On the IBM side did you just do a CRTPF ...
- Wed Dec 21, 2022 8:59 pm
- Forum: Other ScottKlement.com Tools
- Topic: Data issue while transferring data From Mainframe to IBM i
- Replies: 8
- Views: 292
Re: Data issue while transferring data From Mainframe to IBM i
What does the defintion of the file look like? Both on the mainframe side and on the IBM i?
What does the data in the IFS file look like?
And what does your CPY... command look like?
Comp-3 is packed decimal so that shouldn't be an issue.
What does the data in the IFS file look like?
And what does your CPY... command look like?
Comp-3 is packed decimal so that shouldn't be an issue.
Re: FOPEN(
Using your DATA-INTO as a base it would be this: dcl-s IFS_filename varchar(200) inz('fullepathname_Of_IFSFile'); data-into putapiwms_err %DATA( IFS_filename : 'doc=file case=convert allowmissing=yes allowextra=yes trim=none countprefix=num_') %PARSER('YAJLINTO'); By the way, the -1 return probably ...
Re: FOPEN(
I mentioned this before but you seem to have missed it. You are specifying O_WRONLY on the open(). That says explicitly only to allow _write_ operations! So it is not surprising that a read() fails. In fact, if you are opening for read your options really make no sense. Look them up and you'll see. ...
- Mon Dec 05, 2022 2:35 pm
- Forum: RPG IV
- Topic: Example base 64 encode
- Replies: 1
- Views: 118