before replying try to understand the issue at stakethe environment is COBOL+DB2 the SELECT is supposed to be within and EXEC SQL thing

so the question, even if a bit unclear is not completely out of place,the TS just needs to understand the things that can be selected and where/into

cheersenricoWhen I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,so that I am sure that the information requested can be reached with a very small effort