Trying to use a single variable with libraries concated from a file. When the command runs in the program I get XXXXX is not a valid library name. If I create a command string with the variable and use QCMDEXEC it works perfectly. The formating of the variable is obviously correct or the qmd call would not work either. Debug just does not give anything to indicate why it is failing.