batch-fileautosys

Read profile variable from batch file and echo in command for autosys windows


i have autosys job like below

insert_job: job_name
command: cmd /c path/abc.bat
machine:
owner:
permission: 
std_out_file:
std_err_file:
profile: "profile.bat"

in profile.bat file there i have set variable

SET name=""
SET mydate=""

how to echo date from profile:bat file in command after invoke bat command


Solution

  • we need to store batch file of profile attribute in same remote machine.