CPYTOSTMF error CPFA097 Object not Copied



As you see I'm receiving an error CPFA097 when using the CPYTOSTMF
command in a CL. The message says Object Not Copied (V5R1M0) although
I go to the IFS and there is my file with all the Data in it. I could
just MONMSG for the error but this is really spooky & what if one time
it truly does not work? Has anyone else experienced this or have some
input?

The Command in the CL:
CPYTOSTMF +
FROMMBR('/QSYS.LIB/FMSV3DB01.LIB/RAFLAT.FIL+
E/RAFLAT.MBR') TOSTMF(&FILE2) +
STMFOPT(*REPLACE) ENDLINFMT(*LF)

Have &FILE and &FILE2:(&FILE1 is the file name without the preceeding
'/')
DCL VAR(&FILE) TYPE(*CHAR) LEN(26)
DCL VAR(&FILE2) TYPE(*CHAR) LEN(27)
then before the copy I do:

CHGVAR VAR(&FILE2) VALUE('/' *CAT &FILE)

Also, in the CPFA097 ErrMsg, it states "...not copied to Object /
because of Errors", but when i run in Debug &FILE2 shows it's value as:
'/MCC_B&B_00001_09162005.txt'

I'm perplexed!

thanks in advance
that 1 guy

.



Relevant Pages

  • Re: Receiving RSU on z/OS 1.10
    ... While receiving the RSU I had faced space issue, ... The operands that you specify on a command determine which SYSMODs SMP/E ...
    (bit.listserv.ibm-main)
  • Re: Receiving RSU on z/OS 1.10
    ... Concerning your SMPPTS, I'm wondering what OPTIONS entries you have set for your global zone, in particular the ones that appear under the CLEANUP category in the SMP/E panels. ... While receiving the RSU I had faced space issue, ... The operands that you specify on a command determine which SYSMODs SMP/E selects for processing. ...
    (bit.listserv.ibm-main)
  • Re: Receiving RSU on z/OS 1.10
    ... GIM24801W NO SYSMODS SATISFIED THE OPERANDS SPECIFIED ON THE RECEIVE ... COMMAND. ... GIM20502I SMP/E PROCESSING IS COMPLETE. ... While receiving the RSU I had faced space issue, ...
    (bit.listserv.ibm-main)
  • Re: SMP/E PTF SYSMODs re-received after acceptance.
    ... will eliminate receiving maintenance that have already been APPLIED or ... The REJECT command can be used to delete PTFS that have ... Received PTF SYSMOD ABC123. ... Will a PURGE affect my DZone or will that SYSMOD still show as being ...
    (bit.listserv.ibm-main)
  • Error i dont understand
    ... I have created a form with 5 option groups. ... I then added a command button. ... communicating with the OLE server or ActiveX Control." ... the message, I even commented the code out, but I am still receiving the ...
    (microsoft.public.access.formscoding)