Skip to content

Commit

Permalink
Update irrsmo00.c
Browse files Browse the repository at this point in the history
add more debug prints
  • Loading branch information
ElijahSwiftIBM committed Feb 20, 2024
1 parent cdea058 commit 1e3af9d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyracf/common/irrsmo00.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
printf("Hello World!\n");
do {
printf("Request XML Length: %d\n", request_xml_length);
printf("SAF RC: %d\n", saf_rc);
printf("RACF RC: %d\n", racf_rc);
printf("RACF RSN: %d\n", racf_rsn);
printf(req_handle);
IRRSMO64(
work_area,
alet,
Expand All @@ -97,7 +101,7 @@ static PyObject *call_irrsmo00(PyObject *self, PyObject *args, PyObject *kwargs)
PyList_Append(full_result, Py_BuildValue("y#", result_buffer, result_buffer_size));
}
i++;
} while((saf_rc == 8) && (racf_rc == 4000));
} while((saf_rc == 8) && (racf_rc == 4000) && (i < 100));

// https://docs.python.org/3/c-api/arg.html#c.Py_BuildValue
//
Expand Down

0 comments on commit 1e3af9d

Please sign in to comment.