There are versions of the command in QSYS, QSYSV5R4M0 and QSYSV6R1M0. I'm fairly confident that none of these are being picked up - and figured that even if the defaults had changed at some point, specifying it explicitly would counter that!

Chris

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of B Stone
Sent: Wednesday, January 09, 2019 2:08 PM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Bizarre CPYTOSTMF issue

I was going to suggest maybe someone changed the command default for the
ENDLINFMT, but because you said you explicitly said you added it and still
had the same issue, I'd say that the issue is an OS one.

Did it start happening after applying any PTFs? Installing any 3rd party
software? I know these are hard to figure out, though.

There's not any copies of the command or processing programs in other
places on the system, are there?

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #19 <https://www.bvstools.com/mailtool.html>: The ability
to turn off "Strict SSL" settings. This means no importing Certificate
Authorities (CAs) unless you want to.

On Wed, Jan 9, 2019 at 3:40 PM Chris Wright <Chris.Wright@xxxxxxxxxxxxxxx>
wrote:

Not strictly RPG, but I've been banging my head against a wall for a week
now over this one! Can anyone help????

We are copying a Physical file member to a csv document held on the ifs
using CPYTOIMPF. The command is issued within a CLLE routine.

Everything was just fine - and has been for years! We got the data
correctly formatted with a CRLF at the end of each line.

Then, at the beginning of December, the CRLFs stopped appearing! The
Stream file is just a single record with no line breaks!

If I run the command from a command line, it still works perfectly, but
from within the CL (which runs in an interactive job), no line breaks. I
tried changing the command so that the ENDLINFMT parameter explicitly
specifies *CRLF, but get the same result.

Why???

We are at v7 r1 of the O/S. The CL Program does a number of overrides

Any suggestions welcomed!

Regards
Chris Wright
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2019 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].