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



We have TAATOOL's DSPFMT and use it to check files.
I belive if both fields are DDS, you have to put something in the 'FMTOPT' option for the copy to work.
If you enter in 'FMTOPT' *map *drop what does the to file look like? Does all the data go over or is some not moved.
This would also tell you the fields that are having a problem.


William Moore
California Fine Wire
805-489-5144
wjmoore@xxxxxxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Wednesday, August 18, 2010 6:31 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Level check problem - chgpf

Ake,

Make sure you use qualified names, MYLIB/HCSITR, on both the DSPFD and CPYF.

Make sure you're looking at the Record Format Level Identifier Record Format List
Record Format Level
Format Fields Length Identifier
FCUSTOMP 40 257 41A9D6D0DECE1

Show the 2nd level help for the message you receive:
Technical description . . . . . . . . : &7 extra fields in the to-file
record format do not exist in the from-file format. &8 fields have different
attributes or positions in the from-file and to-file record formats.

Do a DSPFFD, using qualified names, on both files.

HTH,
Charles


On Wed, Aug 18, 2010 at 5:16 AM, Åke Olsson <ake.olsson@xxxxxx> wrote:
These are the files for the CPYF:

Source HCSITR      format id 42A0FD7F7A38F Dest   HCSITRLOG   format
id 42A0FD7F7A38F


Copy command:

FROMFILE(HCSITR) TOFILE(REXCOMHCS/HCSITRLOG) TOMBR(NEWMBR)
MBROPT(*REPLACE)

Errmsg:
CPF2962 "FMTOPT(*MAP) or FMTOPT(*NOCHK) required for copy."

The message says that fields have different attributes or positions in
the from and to -files

But as I look at the start and end positions and data types of each field in the two files they are identical.

Also the dspobjd *service shows same source file and member as base for the creation of both files.



Med vänlig hälsning / Best regards

Åke H Olsson


This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient, please
notify the sender immediately by return e-mail, delete this e-mail and
destroy any copies. Any dissemination or use of this information by a
person other than the intended recipient is unauthorized and may be
illegal.
--
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.


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