Is there a way, by using REXXON, to retrieve information from a file for distributed jobs in ESP Workload Automation system? NT_JOB or UNIX_JOB? Like following for a mainframe job?
REXXON PROC
"ALLOCX F(INFLE) DA('ESP.APPLIB') -
SHR REUSE"
ADDRESS MVS "EXECIO * DISKR INFLE (STEM GDGS. FINIS"
"FREEX FILE(INFLE)"
"NEWGDG='"STRIP(GDGS.1,"B")"'"
"OLDGDG='"STRIP(GDGS.2,"B")"'"
REXXOFF
Component : ESP WORKLOAD AUTOMATION & Workload Automation System Agent
Release : ALL
No, there is no REXX function to retrieve distributed file directly.
And here are the ways to get it around:
#1 You can FTP the file to the mainframe, then use it the same way;
#2 Run any command/tool (non-ESP) to retrieve the data from the file, then run the ESPmgr utility to pass the data to variables on ESP.