× 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.



These jobs are always run from ROBOT Scheduler using the same user id
each time.


Be seeing you...B

Joel B. Harvell
Food Lion, LLC
(704) 633-8250 x2709
jbharvell@xxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of sjl
Sent: Monday, November 10, 2008 2:59 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Problem with CPYFRMIMPF

Joel wrote:
It seems I encountered a PEBKAC error.

At some time I must have created the STMF File in production using
*PCASCII on the CPYTOIMPF COMMAND, probably during testing, and when
the
program ran in production using *STDASCII it failed. It seems that if
STMF file exists when you do the CPYTOIMPF command the CCSID parm on
the
command has to match the STMF file.

I am adding a RMVLNK command to remove the STMF file before I do the
CPYTOIMPF command. That will fix the problem.

Thanks for the responses.


Joel -

IFS object security differs significantly from OS/400 or i/OS security.
Remember that the RMVLNK could possibly fail on removing the stream file
if
this program is run by different users, if one of them is not authorized
to
the stream file...

- sjl




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.