How can the IDMS task DCPROFIL be run in batch?
Release: 19.0
UCF Batch can be used to execute DCPROFIL in several ways.
RHDCUCFB is delivered in CAGJLOAD during install or clients can create their own UCF Batch module.
See documentation section Batch Front-end
If your input is simply
//SYSIPT DD *
DCPROFIL
BYE
/*
You'll get the entire DCPROFIL display without the separate pages you see on a terminal.
If you want to see pages like on the terminal you have to turn on the 3270 simulator function with DCUF SIMULATE
This example displayed all pages currently in the DCPROFIL task
//SYSIPT DD *
DCUF SIMULATE
DCPROFIL%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
%ENTER
DCUF SIMULATE OFF%ENTER
BYE
/*
If you just want to display the first page or the first nn number of pages, you can put a %CLEAR at any point.
This displays the first 4 pages
//SYSIPT DD *
DCUF SIMULATE
DCPROFIL%ENTER
%ENTER
%ENTER
%ENTER
%CLEAR
DCUF SIMULATE OFF%ENTER
BYE
/*