Search found 738 matches

by Scott Klement
Sat Jul 27, 2024 1:36 am
Forum: General
Topic: Digital Scale interface to IBMi
Replies: 1
Views: 28

Re: Digital Scale interface to IBMi

Seems to me that this would depend on the scale you're using and how it works. You say that a \x05 sent as a keystroke triggers it to return the value. What do you mean by keystroke, here? Does that mean someone has to press that key on the scale? Or do you mean that the IBM i can send that? (please...
by Scott Klement
Sat Jul 27, 2024 1:22 am
Forum: HTTPAPI
Topic: http_req
Replies: 4
Views: 85

Re: http_req

i code like this could work,the response could display the json result thank you very much! %size(%trim(responseBody )) I don't understand this at all. Note that %SIZE is very different from %LEN. %SIZE tells you how many bytes of memory the variable is using, whereas %LEN tells you the current len...
by Scott Klement
Tue Jul 23, 2024 8:30 pm
Forum: General
Topic: How to get job details which is there in QSYSOPR
Replies: 8
Views: 637

Re: How to get job details which is there in QSYSOPR

I simply want to tracj all failed, completed jobs using standard IBM i SQL query "SELECT * FROM TABLE(QSYS2.JOB_INFO() " but not sure why the jobs which i can see using DSPJOB command after selecting 1 then option 4 to view spool files from ther we check QPJOBLOG where we have most of the...
by Scott Klement
Mon Jul 22, 2024 3:55 pm
Forum: General
Topic: creating a file using DDS
Replies: 6
Views: 629

Re: creating a file using DDS

Are your questions in this thread related?

You were asking previously about concatenating fields... You would never be able to do that in a create table statement.
by Scott Klement
Mon Jul 22, 2024 3:51 pm
Forum: General
Topic: How to get job details which is there in QSYSOPR
Replies: 8
Views: 637

Re: How to get job details which is there in QSYSOPR

I have no clue what you are trying to do or why.
by Scott Klement
Mon Jul 22, 2024 3:46 pm
Forum: HTTPAPI
Topic: API call with Headers
Replies: 14
Views: 1161

Re: API call with Headers

I don't speak Italian. What does the message say?
by Scott Klement
Thu Jul 18, 2024 11:03 pm
Forum: General
Topic: creating a file using DDS
Replies: 6
Views: 629

Re: creating a file using DDS

I've never done anything like that in DDS, so I don't know the answer to #2.

Is there a reason you're using DDS for this instead of SQL?

Or for that matter, just do it in a program?
by Scott Klement
Thu Jul 18, 2024 4:20 pm
Forum: General
Topic: creating a file using DDS
Replies: 6
Views: 629

Re: creating a file using DDS

You can use + to continue data on the next line

Code: Select all

      A            FIELD6    R               REFFLD(RECORDB/FLD6 +
      A                                      LIB1/FILE4)          
by Scott Klement
Thu Jul 18, 2024 4:08 pm
Forum: HTTPAPI
Topic: API call with Headers
Replies: 14
Views: 1161

Re: API call with Headers

Move the cursor to the error message and press F1 to get more details about what the error is.

Most likely it's mapping data to the DS until it gets the error, then stops -- so you have only a partial one filled in.
by Scott Klement
Thu Jul 18, 2024 2:56 pm
Forum: YAJL-ILE
Topic: How do I tell HTTP Server where "parameters" begin in URI?
Replies: 10
Views: 1224

Re: How do I tell HTTP Server where "parameters" begin in URI?

In order to help you with that, I'd need to be trained in how your network is set up, which type/model of equipment you have and how to use it, and so forth. So this isn't really something I can help with. I can tell you what the most common setup is... Your ISP has a line run to your building. Ther...