Good day,
I have captured some dates in the CL_IN. Now I would like to be able to use those variables in the “variables” section of the UPROC. For some reason, the values doesn’t seem to transfer. Did I do something wrong?
Here is the content of my CL_IN:
@ECHO OFF
REM ==============================================================
REM Internal Uproc sample script for Windows
REM ==============================================================
REM
ECHO Starting...
REM
for /F %%a in ('%UXEXE%\uxdat yyyymm -1m') do (set PREV_REF_PERIOD=%%a)
REM @PARAM <PREV_REF_PERIOD> TEXT <6> [<%PREV_REF_PERIOD%>]
REM
for /F %%b in ('%UXEXE%\uxdat yyyymm') do (set REFERENCE_PERIOD=%%b)
REM @PARAM <REFERENCE_PERIOD> TEXT <6> [<%REFERENCE_PERIOD%>]
REM
Call "%UXDIR_ROOT%\Scripts\SQLCode\SQLCMDQueryO.bat"
ECHO End.
SET resexe=0
And where I would like to use the variables (see picture)
Help!!