Hello,
I have a SPSS program which reads a file named as "filename01012024.txt" as i am showing below:
GET DATA
/TYPE=txt
/FILE='C:\.....\filename01012024.txt'
.........................
EXECUTE.
DATASET NAME filename01012024 WINDOW=FRONT.
Because i need to run this program each time new text file is generated , i am thinking to create a macro, with date as parameter ,
and to use it in above code, so I do not need to change manually the date extension, part of the file name.
How this macro can be created and used in this scenario?
Thank you.
------------------------------
IBMcode SPSS
------------------------------