syntax of mkdir in JCL or IDCAMS
Posted: Thu Mar 23, 2017 9:28 pm
I'm able to use JCL and IDCAMS to populate a USS file:
Is there an IDCAMS or JCL syntax to do the equivalent to mkdir, so that I can create the file in a subdirectory instead?
Code: Select all
//PATH JOB
//CREATE EXEC PGM=IDCAMS
//UNIX DD PATH='unixfile',PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//JUNK DD DATA,DLM=@@
a
quick
brown
fox
@@
REPRO -
INFILE(JUNK) -
OUTFILE(UNIX)
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTERM DD SYSOUT=*