Wikis - Page

Knowledge Doc: IMTKMAKE - Wrong data formatting in the URL

0 Likes
Swagger data type :
"name" : "entityId",
"in" : "query",
"required" : false,
"description" : "entity identifier(s)",
"schema" : {
"type" : "array",
"items" : {
"type" : "number"
Cobol Copy data type :
05 entityId pic s9(9)v9(9) occurs 0 to 256
Value Sent : 1009548

Value in the URL : (from the mccerror file)
xxxxxxxxentityId=-1009548.00000000%3B&l

Negative value is sent through the URL and also a strange %3B (corresponding to " ; ") and a point instead of comma in the value sent.

Compiler directives used:

cob64 -C warning=1 assign=external defaultcalls=4 filetype=4 idxformat=4 vsc2 fp-rounding=vsc2 checkdiv=vsc2 sign=ebcdic NORTKEY host-nummove hostarithmetic host-numcompare -O -v -u -C ibmcomp perform-type=osvs noalter notrunc bound defaultbyte=0

 

Full article: https://portal.microfocus.com/s/article/KM000016515

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended