I think I'm missing something obvious here but I've been staring at it so
long I can't see the problem. The code fragment -

char exsbuff[sizeof(exsh_t) + sizeof(exsf_t)];
int lExsbuff = sizeof(exsbuff);
char *fName = "PROFILE EXEC";
int lFname = strlen(fName);
int lCommit = 6;

DMSCSL("DMSEXIST", &rc, &reason, fName, lFname,
&exsbuff, lExsbuff, "COMMIT", lCommit);

The result of the CSL call is:
rc: 8 reason: 90530

Where 90530 = The namedef part of the file ID or dirname parameter does not
exist or was used incorrectly.

Why is fName being interpreted as a namedef rather than a filename/filetype
combination?

Neale

Reply via email to