How can I get the same output from a CA Ideal DISPLAY DATAVIEW written to member of a PDS?
search cancel

How can I get the same output from a CA Ideal DISPLAY DATAVIEW written to member of a PDS?

book

Article ID: 12392

calendar_today

Updated On:

Products

Ideal

Issue/Introduction



How can I get the same output from a CA Ideal DISPLAY DATAVIEW written to member of a PDS?

Environment

Release: IDEAL.00200-15.1-Ideal-for CA-Datacom
Component:

Resolution

The DISPLAY DATAVIEW batch output is written to PRTLIST DD which is normally defined as SYSOUT=*.

So, output to member of a PDS, first allocate the PRTLIST PDS data set with RECFM FBA and LRECL 133. 

Then, use separate batch steps with DISPLAY DATAVIEW dvwname to separate members of PRTLIST data set

Example for two Dataviews named dvwname1 and dvwname2:

//JCLLIB JCLLIB ORDER=my.proclib
//IDLBATCH EXEC myIdealbatchproc

//PRTLIST  DD   DISP=SHR,DSN=PRTLIST.PDS(dvwname1)
//SYSIN    DD   *
DIS DATAVIEW dvwname1
/*
//IDLBATCH EXEC myIdealbatchproc
//PRTLIST  DD   DISP=SHR,DSN=PRTLIST.PDS(dvwname2)
//SYSIN    DD   *
DIS DATAVIEW dvwname2
/*

 

 

Additional Information

You could also run your Ideal batch job first to get the list of Dataviews via:

//JCLLIB JCLLIB ORDER=my.proclib
//IDLBATCH EXEC myIdealbatchproc

//PRTLIST  DD   SYSOUT=*
//SYSIN    DD   *
DIS IND DATAVIEW 
/*