Skip to content

Commit

Permalink
Merge pull request #494 from zowe/v3.x/zosDatasetInfo
Browse files Browse the repository at this point in the history
Return null for no output
  • Loading branch information
JoeNemo authored Oct 2, 2024
2 parents 954377e + 5535166 commit 4733904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/qjszos.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ static JSValue zosDatasetInfo(JSContext *ctx, JSValueConst this_val,
if (trace){
printf("entrySet=0x%p\n",entrySet);
}
if (!entrySet){
if (!entrySet || entrySet->length == 0){
return JS_NULL;
}
char *resumeName = returnParms->resume_name;
Expand Down

0 comments on commit 4733904

Please sign in to comment.