Search found 2 matches

by Oliver_superU
Thu Jul 31, 2025 2:22 pm
Forum: YAJL-ILE
Topic: Transferring a JSON via Parameter into a DS
Replies: 2
Views: 1483

Re: Transferring a JSON via Parameter into a DS

this my code
but not compiling on the Data-Into

*#C CRTSQLRPGI DBGVIEW(*SOURCE) OBJ(
**FREE

Ctl-opt Debug Datedit(*YMD) DFTACTGRP(*NO) actgrp(*new) bnddir('YAJL')
option(*srcstmt: *nodebugio: *noshowcpy);

/copy yajl_h

Dcl-ds EmballageSupp_t Qualified Template;
code VarChar(20 ...
by Oliver_superU
Thu Jul 31, 2025 8:40 am
Forum: YAJL-ILE
Topic: Transferring a JSON via Parameter into a DS
Replies: 2
Views: 1483

Transferring a JSON via Parameter into a DS

Hello everyone,

I'm receiving a JSON as a parameter in this format:

The parameter will be received in the program as a long string.

{
"matricule": 258,
"plateforme": "DT",
"specifFonction": "XP3",
"palettes": [
{
"ssccr": "31623311010770289",
"codeEmballageSR": "6311930 ...