Can REXXON, code be used to retrieve information from a file for distributed jobs with CA Workload Automation ESP Edition?

book

Article ID: 144798

calendar_today

Updated On:

Products

CA Workload Automation ESP Edition

Issue/Introduction

Is there a way, by using REXXON, to retrieve information from a file for distributed jobs?  NT_JOB or UNIX_JOB?  Like there is 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

Environment

Release : 11.4 & above

Component : CA ESP WORKLOAD AUTOMATION

Resolution

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 mainframe, then use it the same way;
#2 Run any command/tool (non-ESP) to retrieve the data from the file, then run ESPmgr utility to pass the data to variables on ESP.