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




I forgot to mention that we use RDI 9.0.1 (= latest service pack).

Thomas.

wdsci-l-bounces@xxxxxxxxxxxx schrieb am 17.01.2014 09:20:07:

Von: thomas.raddatz@xxxxxx
An: wdsci-l@xxxxxxxxxxxx,
Datum: 17.01.2014 09:20
Betreff: Re: [WDSCI-L] CRTRPGMOD: CPYSRCF: From-file EVFEVENT in
KS01TS0O not allowed.
Gesendet von: wdsci-l-bounces@xxxxxxxxxxxx


Seems that likely... Either the logic in the RDi is flawed in some
manner that the CPYSRCF command is incorrectly being chosen [instead
of
the CPYF command I presume], or the method that the RDi uses to
determine which command to use is flawed in a manner whereby the wrong

File Type is returned to RDi as the invoker. In the latter case, the
RDi could be functioning properly, but acting according to the prior
incorrect output; i.e. acting on bad information.

That covers my feeling. So I assume I have to open a PMR for that issue.

Have you been able to reproduce the problem on your system? Does someone

else have the same problem?

Regards,

Thomas.

wdsci-l-bounces@xxxxxxxxxxxx schrieb am 16.01.2014 23:24:45:

Von: CRPbottle@xxxxxxxxx
An: wdsci-l@xxxxxxxxxxxx,
Datum: 16.01.2014 23:24
Betreff: Re: [WDSCI-L] CRTRPGMOD: CPYSRCF: From-file EVFEVENT in
KS01TS0O not allowed.
Gesendet von: wdsci-l-bounces@xxxxxxxxxxxx

On 15-Jan-2014 13:39 -0800, thomas.raddatz@xxxxxx wrote:
Just another side note. When EVFEVENT is created by the RPG
compiler,
it has the following format:

Field Type Length Length Position Usage
EVFEVENT CHAR 300 300 1 Both
Coded Character Set Identifier . . . . . : 65535

It contains, for module KS001:

....+....1....+....2....+....3....+....4....+....5....+....6....+
TIMESTAMP 0 20140115223542
PROCESSOR 0 000 1
FILEID 0 001 000000 020 KS01TS0Z/QSRC(KS001) 20131210104736 0

Apparently, created via CRTPF RCDLEN(300). Consistent with my
file.
A CPYSRCF request for which that file is named as the FROMFILE(),
will

properly fail with the msg CPF2801.

But it also works, when I create it by hand:

CRTSRCPF FILE(KS01TS0O/EVFEVENT) RCDLEN(312)

After having compiled a module, member KS001 contains:

SRCSEQ SRCDAT SRCDTA
3,945.23 147,000 20140115223725
7,963.52 269,000 000 1
6,935.94 0 001 000000 020 KS01TS0Z/QSRC(KS001) 20131210104736
0

I could never be convinced that the feature, after having opened
the
file as program-described [with an effective assumption the data
layout
matches a PF-DTA created with CRTPF RCDLEN(3xx)] and thus having
written

text data into the source-sequence and source-date numeric data-typed
columns, could be considered to be functional; i.e. in no way, IMO,
does

that effect qualify as having "worked".

<<SNIP>> Maybe that RDi does not always check the format of EVFEVENT
and hence sometimes uses a wrong command.

Seems that likely... Either the logic in the RDi is flawed in some
manner that the CPYSRCF command is incorrectly being chosen [instead
of
the CPYF command I presume], or the method that the RDi uses to
determine which command to use is flawed in a manner whereby the wrong

File Type is returned to RDi as the invoker. In the latter case, the
RDi could be functioning properly, but acting according to the prior
incorrect output; i.e. acting on bad information.

--
Regards, Chuck
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation
to the sender.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.

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.