Hey thanks to everyone who posted up these great answers! Credit will go to Pierre as it was his post that solved my dilemma. Steve also posted up the correct answer and it was more thoroughly explained but I already had it. Anyway thank you so much again, here is the solution in context:
//xxxxxxxT JOB (X9999),'LOCATE FILES',CLASS=T,MSGCLASS=Y,
// NOTIFY=&SYSUID,REGION=0M
//***********************************************************************
//*
/*XEQ PROD2
//REXXLIB EXEC PGM=IEFBR14
//REXXLIB DD DSN=xxxxxxxx.REXX.EXEC,DISP=SHR
//*******************************************
//REXXCOPY EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD DSN=xxxxxxxx.REXX.EXEC(RXPGM),DISP=(SHR,PASS,KEEP)
//SYSUT1 DD *
/*REXX*/
GDG = "xxxx.xA1.xx15.xxxxxxxx.BKUP"
DSN = STRIP(GDG!!".G0000V00") /* DEFAULT IF NOT EXIST */
X=OUTTRAP(LST.) /* LISTCAT GDG BASE */
" LISTC ENT('"GDG"') ALL"
X=OUTTRAP(OFF)
DO A = 1 TO LST.0 BY 1
SAY A
IF POS('NONVSAM',LST.A) = 4 THEN DO
DSN = SUBSTR(LST.A,POS('NONVSAM',LST.A)+13,44)
DO WHILE POS('CREATION',LST.A) = 0
A = A + 1
END
CRDT = SUBSTR(LST.A,POS('CREATION',LST.A)+17,8)
SAY DSN ' - ' CRDT
END
END
EXIT
/*
//********************************************
//STEP0 EXEC PGM=IKJEFT01,PARM='RXPGM'
//SYSPROC DD DSN=xxxxxxxx.REXX.EXEC,DISP=(SHR,PASS,KEEP)
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*
//