Search found 43 matches

by emhill
Thu Mar 10, 2022 10:55 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing (Different Issue)
Replies: 7
Views: 3080

Re: DATA-INTO Failing (Different Issue)

Wow... I don't know. I'll attach my complete program and maybe there is something else going on there that you see. I'm writing to a flat file called ATDRCVWA that is 350 characters long.

This is a first draft so don't laugh too hard! :-)
by emhill
Thu Mar 10, 2022 9:23 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing (Different Issue)
Replies: 7
Views: 3080

Hey Scott, I think you told me about the EXPROPTS(*ALWBLANKNUM) before and I do have it in my CTL-OPT specs. I'm getting the reason code of 5. I'm going to change that currentLaborRate to character and see if that makes a difference. This company has been notorious for sending me examples of the JSO...
by emhill
Thu Mar 10, 2022 7:43 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing (Different Issue)
Replies: 7
Views: 3080

DATA-INTO Failing (Different Issue)

I had this issue with one program and thanks to JonBoy49 was able to get past it. I'm now getting the same error but it has a little different twist to it. I'm using a handler due to the size of the incoming JSON. Here is my DS: dcl-ds REPAIRINGOUTLETRECORD_t qualified template; REPAIRINGOUTLETBUSIN...
by emhill
Sat Jan 29, 2022 12:23 am
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

I think what is really throwing me is the "dim()". For the procedure it is showing this: item likeDS(REPAIRINGOUTLETRECORD_T) Dim(1) Const; There may be over 100 outlets now and more to come later. Same for the other arrays in the JSON data. There is no num_REPAIRINGOUTLETRECORD on the tem...
by emhill
Fri Jan 28, 2022 9:11 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

Jon, This got put on the back-burner for a while but now I'm back at it. Still a little confused on where my "dcl-ds" definitions of the json I'm "reading" goes when using the %HANDLER. I really didn't know what you meant when you said "<snip out definitions>" or the &q...
by emhill
Thu Dec 23, 2021 4:13 pm
Forum: YAJL-ILE
Topic: DATA-INTO Question
Replies: 1
Views: 3746

DATA-INTO Question

I have my DATA-INTO data structure created like this: dcl-ds jsonDoc qualified; STATUS varchar(10) inz(''); MESSAGE varchar(50) inz(''); INTERFACENAME varchar(50) inz(''); num_BATCHCLAIMRESPONSE int(10) inz(0); dcl-ds BATCHCLAIMRESPONSE dim(150); dcl-ds CLAIMINFO; TRACKINGNUMBER varchar(10) inz('');...
by emhill
Fri Nov 19, 2021 10:26 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

Thank you!!!!
by emhill
Fri Nov 19, 2021 9:09 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

Still a little confused... In my current program I roll through the REPAIROUTLETRECORD array as follows (condensed version): for a = 1 to advicedoc.creditadviceheader.num_repairingoutletrecord; for b = 1 to advicedoc.creditadviceheader.repairingoutletrecord(a). num_workinprogressclaimsrecord; clear ...
by emhill
Fri Nov 19, 2021 8:04 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

Scott... yeah I knew I was in trouble with size when I saw that error. Just did not have a clue what the solution(s) was. Jon has given me something to chew on for a bit. Thanks to both for the input on this. I'm still getting my feet wet but this project is teaching me a bunch!
by emhill
Fri Nov 19, 2021 4:07 pm
Forum: YAJL-ILE
Topic: DATA-INTO Failing
Replies: 14
Views: 29680

Re: DATA-INTO Failing

I needed to change some of my DIM values due to the number of elements being returned. Now I'm getting this error: ============================================================ *RNF0376 30 13 001300 Total length 23473050 of data item REPAIRI... exceeds 16,773,104 bytes. 109 end-ds; *RNF0501 20 8 0008...