Getting XCPR010I while using Connect:Direct



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Getting XCPR010I while using Connect:Direct

Postby nikesh_rai » Wed Jan 06, 2016 7:21 pm

Hi Friends,

I am using Connect:Direct to transfer file from Mainframe to Unix, however getting below error messages.

Function     => COPY                    Start Time   => 13:38:13
Process Name => CDTOFTL                 Stop Time    => 13:38:13
Process Num  => 89,073                  Comp Code    => 00000008
                                        Comp Msg     => XCPR010I
                                        Fdbk Code    => 00000002


I tried to google for XCPR010I, but didn't get any info on fdbk = 2. Can you please help me for this. Here is the parameters I am using.



SIGNON                 
SUBMIT CASE=YES   -   
        PROC=CDPROC1    -
CDTOFTL    PROCESS PNODE=OATBS      SNODE=CD.UNIX.INT1DEV      -     
STEPCPY    COPY FROM (              -                             
                PNODE               -                             
                DSN=                -                             
                TIB.CGD.GED.IDE1.TIBEBBJ1.OUT    -                 
                )                   -                             
                TO (                -                             
                SNODE               -                             
                DSN=                -                             
'/int1dev/feeds/INT01378/data/MI1.D060116.T133809.M353010.TXT'    -
                SYSOPTS='DATATYPE(TEXT)' -                         
                DISP=RPL)           -                             
                CKPT=1M             -                             
                COMPRESS            -                             
                EXT                                               
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 187
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: Getting XCPR010I while using Connect:Direct

 

Re: Getting XCPR010I while using Connect:Direct

Postby Robert Sample » Wed Jan 06, 2016 7:51 pm

I Googled xcpr010i and got about 658 hits back, the very first of which says
Question

FAQ: What does the errno in XCPR010I mean ? e.g. XCPR010I Open failed for copy in &FUNCTION. Errno=21.
Answer

The errno is the error number returned by the UNIX system to C:D. The exact meaning may vary on different UNIX operating systems.

Check UNIX (not C:D) documentation for the exact meaning of the errno on your UNIX system.

Some of the common errno values you may see are:

2 -No such file or directory

13 - Permission denied (i.e. userid being used does not have access to the file)

17 - File exists

21 - Is a directory (i.e. a directory was specified but no file name specified).
and the third of which indicates that errno is the fdbk code. So I would suspect your file or directory doesn't exist. And for a Unix system, that does NOT mean the file or directory fails to exist -- they could both exist but if you don't have permissions to any directory from root to the end directory, you don't have access and will get the no such file or directory error.
Robert Sample
Global moderator
 
Posts: 3308
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 217 times

Re: Getting XCPR010I while using Connect:Direct

Postby Aki88 » Wed Jan 06, 2016 7:52 pm

<Edit: my bad Robert, I think we both posted at almost same time; you'd already posted the link>

Hello,

See if this link helps.

It says:

Question

FAQ: What does the errno in XCPR010I mean ? e.g. XCPR010I Open failed for copy in &FUNCTION. Errno=21.

Answer



The errno is the error number returned by the UNIX system to C:D. The exact meaning may vary on different UNIX operating systems.

Check UNIX (not C:D) documentation for the exact meaning of the errno on your UNIX system.

Some of the common errno values you may see are:

2 -No such file or directory

13 - Permission denied (i.e. userid being used does not have access to the file)

17 - File exists

21 - Is a directory (i.e. a directory was specified but no file name specified).
Aki88
 
Posts: 362
Joined: Tue Jan 28, 2014 1:52 pm
Has thanked: 33 times
Been thanked: 34 times

Re: Getting XCPR010I while using Connect:Direct

Postby nikesh_rai » Thu Jan 07, 2016 1:05 pm

Thanks Robert and Aki88. It's working fine now. The destination path provided was incorrect.. :(
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 187
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post