Page 1 of 1

USS CP not allocating a single file

PostPosted: Thu Mar 14, 2019 2:51 am
by twixinthemix
We are having an issue where " cp -P "RECFM=FB,LRECL=128,BLKSIZE=27904" /u/USS/file "//'MVS.SEQ.FILE.HERE'" " is issued to copy a file from USS to a new MVS sequential file. We are using TWS to trigger a batch job from this copy. The file is allocated then deleted and then allocated again so it triggers two batch jobs. I've pulled SMF 15 and 17 records to show this. I have tried changing the RECFM to VB since the IBM page says it will default to VB and I thought it first allocated a VB file then the FB. The allocations and delete happen in the same second.

I have also tried cp -W "seqparms='RECFM=FB,LRECL=128,BLKSIZE=27904'" along with a BLKSIZE=0 with the same results. Anyone know if this is expected with copying a USS file to MVS using cp? the USS file currently has a few lines of single words for testing nothing specific.

Re: USS CP not allocating a single file

PostPosted: Fri Mar 15, 2019 2:12 am
by twixinthemix
IBM pointed me to PTF UA92583 for this.