I run some IDCAMS processing under NetView for collecting certain data and have
never seen such a problem. The following are some old examples of the code and
this runs a LISTCAT and puts everything into a stem:
Do i = 1 To dsn.0
lc.1 = ' LISTCAT -' /* LISTCAT SYSIN statements */
lc.2 = ' LVL('dsn.i') -'
lc.3 = ' NONVSAM -'
lc.4 = ' VOLUME '
lc.0 = 4
'PIPE STEM lc.' , /* Run a PIPE with LISTCAT */
'| COLLECT' ,
'| NETV MOE DSIVSMX IDCAMS' ,
'| STEM lvl. APPEND'
End
The following runs DCOLLECT and writes the output to a dataset:
'ALLOCATE DATASET('"'"outpdsn"'"') FILE(OUTDS) OLD'
dc.1 = ' DCOLLECT -'
dc.2 = ' OFILE(OUTDS) -'
dc.3 = ' NODATAINFO -'
dc.4 = ' VOLUME('dasd_type')'
dc.0 = 4
'PIPE STEM dc.' ,
'| COLLECT' ,
'| NETV MOE DSIVSMX IDCAMS' ,
'| STEM vs.'
'FREE DATASET('"'"outpdsn"'"') NOHOLD'
To then read that dataset, I just use the QSAM stage:
'PIPE QSAM (DSN)' outpdsn ,
'| STEM uv.'
Do i = 1 To uv.0
Hopefully this gives some ideas on what to do. I don't use EXECIO in NetView
but the QSAM stage to read datasets so that might be causing your problem.
Sebastian
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN