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



Even *TCAT can be an issue, if &OBJECT has leading blanks. But the odds of that are less.

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Vernon Hamberg
Sent: Tuesday, March 19, 2019 1:10 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: IFS CL Program

One consideration is that characters like |<> are not invariant in EBCDIC (they are not in the same code points in all flavors of EBCDIC) - meaning that if the source is taken to a different CCSID, they will not be what you expect.

For that reason, the longer operators, with only the asterisk and alpha characters, are recommended.

Just a crazy thing to be aware of, right?

Vern

On 3/19/2019 9:57 AM, Kevin Monceaux wrote:
On Wed, Mar 13, 2019 at 03:25:50PM +0000, Rob Berendt wrote:

And you might as well simplify it to
EXPORT: EXPDTMDOC DOC(&NAMEOBJ) DIR(&PATHDIR) TOFMT(*CSV) +
NEWOBJ(%trim(&OBJECT) *CAT '.CSV') +
TODIR('/DTMDIR/EXPDOCS')
Or simplify it to:

EXPORT: EXPDTMDOC DOC(&NAMEOBJ) DIR(&PATHDIR) TOFMT(*CSV) +
NEWOBJ(&OBJECT *TCAT '.CSV') +
TODIR('/DTMDIR/EXPDOCS')

Or:

EXPORT: EXPDTMDOC DOC(&NAMEOBJ) DIR(&PATHDIR) TOFMT(*CSV) +
NEWOBJ(&OBJECT |< '.CSV') +
TODIR('/DTMDIR/EXPDOCS')

*TCAT and/or |< joins two strings trimming the first string.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-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

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.