Hi, Just a warning. I am a super novice with SAS. I have jobs that I run that I modify etc and sometimes I can put something together after many person hours. At the moment, Im trying to run a job using MXG that will read TYPE62 records to report on opening of a particular vsam cluster/component. I thouight I should be using DAACNAME as a variable but apparently it doesnt like that. Im not sure what else to try. I tried giving it a label. I guess Im not really understanding what is occurring. I think its very simple but it eludes me. Can anyone offer some info on this silly error? We are at SAS 9.4 and here is what I am running: //SOURCLIB DD DSN=SYS2.MXG.USERID.SOURCLIB,DISP=SHR // DD DSN=SYS2.MXG.SOURCLIB,DISP=SHR //LIBRARY DD DSN=SYS2.MXG.FORMATS,DISP=SHR //SYSIN DD * %INCLUDE SOURCLIB(TYPE62); DATA VSAM1 ; SET WORK.TYPE62; IF DAACNAME =: 'RMDS.FMSM130X.FORMJG76' ; /* IF JOB =: 'FTPSRV' OR */ SDATE = DATEPART(OPENTIME) ; STIME = TIMEPART(OPENTIME) ; FORMAT SDATE MMDDYY8. ; FORMAT STIME TIME8. ; /* PROC CONTENTS ; PROC SORT; BY SYSTEM JOB DAACNAME SDATE STIME ; PROC PRINT NOOBS SPLIT='*'; VAR SYSTEM JOB SDATE STIME DAACNAME ; TITLE1'JOBS ACCESSING THIS DS ' ; Thank you. Donna
... View more