z/OS Unix System Services BPXBATCH ends with CC=3840

Viewed 838

My BPXBATCH step is failing and I can't find the specific RC/RSNC described in M&C. For what it's worth, I had the JCL in an HFS dataset and ran USS's submit command.

Can anyone tell me what I did wrong?

Another clue: My z/OS system will not allow me to sign into my ID in OMVS (3270 mode through ISPF panels), and simultaneously log in to my id in USS's SSH shell. It gives a resource busy error. The sysadmin claims this is not supported, but I suspect it could be made to be supported.

I've tried to find info on messages and codes, but did not see anything for this specific error.

COPYHFS Step

//COPYHFS EXEC PGM=BPXBATCH
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDPARM DD *
SH cp
 -P "RECFM=FB,LRECL=287,BLKSIZE=6027,SPACE=(TRACK,(1,1))"
 /u/woodsmn/SSC.D051721.T200335.S90.CP037
 //\'WOODSMN.SSC.D051721.T200335.S90.CP037\'
/*

STDERR DD

FSUM1004 Cannot change to directory </u/woodsmn>

IEF142I WOODSMNX COPYHFS - STEP WAS EXECUTED - COND CODE 3840 (edited)

1 Answers

I cannot see why you got FSUM1004 Cannot change to directory </u/woodsmn>, since you wrote you can change to directoy /u/woodsmn. So I thought I'd try to reproduce your error, but got different one:

cp: FSUM6258 cannot open file "//'Z10411.SSC.D051721.T200335.S90.CP037'": EDC5121I Invalid argument. 

After I changed SPACE=(TRACK,(1,1))to SPACE=(TRK,(1,1)) the job completed without error.

The job did run under your userid WOODSMN, didn't it?

Related