what will be the load library member for this program, whether it would be XXX or YYY and why ?
The answer is ... it depends. If your linkage editor (binder) includes input statements like
then the load module name could be ZZZ. If your linkage editor (binder) SYSLMOD includes a member name, that will be the name in load library. The source PDS (or whatever) name is irrelevant -- so XXX will not be the name unless you code the linkage editor (binder) to call it that. Absent all other changes, YYY will be the name -- but only if you're not overriding it along the way.