I'm a newbie of MainFrame, now stuck in a problem for several days.
I'm trying to write the java application stdout (which is supposed to be under /u/userid/***)to a designated path.
I used the following code to copy the stdout to that path.
//COPYOUT EXEC PGM=IKJEFT01,DYNAMNBR=300,COND=EVEN
//HFSOUT DD PATH='/u/userid/stdout'
//SYSTSPRT DD DSN=&SYSUID..OUTPUT(JAVALOOP),
//MYOUT DD DSN=&SYSUID..OUTPUT(JAVALOOP),
//SYSTSIN DD *
OCOPY INDD(HFSOUT) OUTDD(MYOUT)
But after that, the OUTPUT data set is still empty. I traced the SYSMSG and found out that the DATA SET was deleted.
IEF285I SYSUID.OUTPUT DELETED
IEF285I VOL SER NOS= VPWRKZ.
Anybody has some idea about the reason why there is still no member in the data set?