Use REXX code to retrieve information from a file for ESP distributed jobs
search cancel

Use REXX code to retrieve information from a file for ESP distributed jobs

book

Article ID: 144798

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

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

Environment

Component : ESP WORKLOAD AUTOMATION & Workload Automation System Agent
Release : ALL

 

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 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.