In my CL I have done an ALCOBJ on a file with *EXCL as the Share option. The ALCOBJ is definitely successful. I then do a CRTDUPOBJ which gets a CPF3203 and CPF3163 message. Below is the message from my joblog. Has anyone come across this problem and a way around it?
Kind regards
Kath
Message . . . . : Cannot allocate object for file F5H08 in JRWLXDP.
Cause . . . . . : The requested operation was not performed for member F5H08
file F5H08 in library JRWLXDP, because member F5H08 file F5H08 in library
JRWLXDP type *QDDS was not available. Recovery . . . : Try the request
again when the object is available.
30 09-12-05 01:27:19.680232 QDBDUPFI QSYS 03F4 J5H08 JRWLPTFO11 00E0
Message . . . . : Cannot create duplicate member F5H08 in file F5H08.
Cause . . . . . : An error occurred while you were trying to create a
duplicate of member F5H08 from file F5H08 in library JRWLXDP into file F5H08
in library QTEMP. File F5H08 in library QTEMP will exist and contain only
those members created before member F5H08. Recovery . . . : See the
previously listed messages to determine the specific cause of the error.
After correcting the problem, do one of the following: -- Use either the add
logical file member (ADDLFM) command or the add physical file member
(ADDPFM) command to add those members that were not added to the file. Then
if the data is to be duplicated use the copy file (CPYF) command to copy the
data. -- Use the delete file (DLTF) command to delete file F5H08 in library
QTEMP. Then try the create duplicate object (CRTDUPOBJ) command again.
Kind regards
Kath
Message . . . . : Cannot allocate object for file F5H08 in JRWLXDP.
Cause . . . . . : The requested operation was not performed for member F5H08
file F5H08 in library JRWLXDP, because member F5H08 file F5H08 in library
JRWLXDP type *QDDS was not available. Recovery . . . : Try the request
again when the object is available.
30 09-12-05 01:27:19.680232 QDBDUPFI QSYS 03F4 J5H08 JRWLPTFO11 00E0
Message . . . . : Cannot create duplicate member F5H08 in file F5H08.
Cause . . . . . : An error occurred while you were trying to create a
duplicate of member F5H08 from file F5H08 in library JRWLXDP into file F5H08
in library QTEMP. File F5H08 in library QTEMP will exist and contain only
those members created before member F5H08. Recovery . . . : See the
previously listed messages to determine the specific cause of the error.
After correcting the problem, do one of the following: -- Use either the add
logical file member (ADDLFM) command or the add physical file member
(ADDPFM) command to add those members that were not added to the file. Then
if the data is to be duplicated use the copy file (CPYF) command to copy the
data. -- Use the delete file (DLTF) command to delete file F5H08 in library
QTEMP. Then try the create duplicate object (CRTDUPOBJ) command again.