I have a table that has an identity field defined in it. It is defined as a BIGINT. When I use that file in vvIn_JSON, the data after that field is scrambled. I redefined the identity field as a Numeric 31,0 identity field. This allows it work. Am I missing something when using vvIn_JSON to get the field to come in correctly? Are there other field types I should avoid using if I am going to us a file in a vvIn_JSON call? Code I am using is below.
Code:
d TransferRcds e ds extname(MLPFARM) inz d qualified dim(1000) d DueRcds s 11 2 dim(1000) inz d ii s 3 0 d numElements s 3 0 /free monitor; vvIn.variableName = 'DATA'; vvIn.object = 'MLPFARM'; vvIn.totalSize = %size(TransferRcds:*all); numElements = vvIn_JSON(vvIn:%addr(TransferRcds));
Comment