13.07.2015 Views

Unicenter CA-Scheduler Job Management for VSE Systems ...

Unicenter CA-Scheduler Job Management for VSE Systems ...

Unicenter CA-Scheduler Job Management for VSE Systems ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.4 Database Read-Access Module3.4 Database Read-Access ModuleThe <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> program, <strong>CA</strong>J<strong>CA</strong>CC0, is provided to allow theuser a read access to most of the in<strong>for</strong>mation stored on the job masterdatabase. This in<strong>for</strong>mation may be processed by the user in any <strong>for</strong>m or <strong>for</strong>any purpose.This program can be called from a user-written program to retrieve scheduleor job records sequentially, by unique or generic key. The caller must providea parameter list that contains (among other things) a:■ Function code (get sequential, get generic, or get unique)■ Record ID (schedule or job)■ Pointer to the buffer where the record is to be retrieved and the length ofthe buffer.■ Return code field <strong>for</strong> <strong>CA</strong>J<strong>CA</strong>CC0 to pass back in<strong>for</strong>mation about thefunction requested.The program must be loaded prior to use.Six macros are provided in assembler source <strong>for</strong>m (<strong>CA</strong>IJAPRM, <strong>CA</strong>IJSCH,<strong>CA</strong>IJJOB, MAPJCR, MAPOCR, and MAPJURT). Users must use these in thierprogram to define:■■■The parameter list that is passed to the programThe schedule record layout that will be retrieved by the program ifPRMID=SCH.The job record layout that will be retrieved by the program if PRMID=JOB.Notice that if you request criteria in<strong>for</strong>mation (SCR or JCR) in the PRMID,<strong>CA</strong>J<strong>CA</strong>CC0 changes SCR and JCR to OCR in the returned data.The program uses standard IBM linkage conventions and expects theseregisters on entry:RegisterFunction1 Points to the parameter list described on the next page.13 Points to a register save area <strong>for</strong> the program to save thecaller's registers.14 Return point to the caller's program15 Entry point to the programChapter 3. User Exits and Interfaces 3-9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!