× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




The only problems I remember with the COPTOxxxx commands is authority
related. Is the same user profile creating and replacing the file?

Regards,

Guy




Sivaramakrishnan S
<sivanup@xxxxxxxxx> To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent by: cc:
midrange-l-bounces@m Subject: Re: V5R3 - CPYTOIMPF fails with Error 3029
idrange.com


12/06/2007 10:42 AM
Please respond to
Midrange Systems
Technical Discussion






Scot, The file is created with REPLACE MEMBER *YES in
the cpytoimpf command. so, the file is not there to
have a lock on it. This program runs every hour of
the day, but this happens at around 10:00 PM, when the
back up of IFS directories are happening. Previously
also back up runs at this time, but this has been
happening quite frequently after our upgrade to v5r3.
This command is executed multiple times within the
job, sometimes it works and sometimes it
doesn't.....any change in the way ifs directories are
handled in v5r3.


--- Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> wrote:

When you see an error number like this (3029) you
can find out what it
means by prefixing it with CPE and displaying the
message description.
For example:

DSPMSGD CPE3029

In this case, it means "resource busy" which implies
that the stream
file (A2057LI.txt) is in use by another job. You
can use iSeries
Navigator to see who is using it.

RCLRSC won't help you. RCLRSC is for objects of
type *FILE (i.e.
physical and logical files) not for stream files
(*STMF). (It releases
some other things as well, such as static storage.
Prompt RCLRSC and
press F1 for details). Also RCLRSC only affects
the default activation
group -- I sure hope your ILE programs aren't
running in the default
activation group!!

Anyway... use iSeries Navigator to find out who's
using the file, and
get them to exit their program and/or sign off the
system to clear the
lock on the object, then run the CPYTOIMPF again.


Sivaramakrishnan S wrote:
Can someone help me fix this....I tried RCLRSC
before
the cpytoimpf...still something is not right....i
get
this error once in a while....o.s version is v5r3.
Failing command:
CPYTOIMPF FROMFILE(QTEMP/XXXX)
TOSTMF('/DLP/PRD/A2057LI.txt') MBROPT(*REPLACE)
STMFCODPAG(*PCASCII)
RCDDLM(*CRLF) STRDLM(*NONE)



Error:
CPFA0D4 - File system error occurred. Error
number
3029.

--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:

http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the
archives
at http://archive.midrange.com/midrange-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.