Actually, I'd stay away from
http://www.scottklement.com/rpg/ifs.html

It's considerably out of date.

Instead look at the following articles by Scott:
http://systeminetwork.com/article/rpg-and-ifs-introduction-stream-files
or http://www.systeminetwork.com/article.cfm?id=19312

http://systeminetwork.com/article/rpg-and-ifs-text-file-primer
or http://www.systeminetwork.com/article.cfm?id=19473

http://systeminetwork.com/article/rpg-and-ifs-text-files-world
or http://www.systeminetwork.com/article.cfm?id=19626

http://systeminetwork.com/article/rpg-and-ifs-binary-stream-files
or http://www.systeminetwork.com/article.cfm?id=19751

http://systeminetwork.com/article/rpg-and-ifs-getting-information-about-your-files
or http://www.systeminetwork.com/article.cfm?id=20050

http://systeminetwork.com/article/rpg-and-ifs-working-links
or http://www.systeminetwork.com/article.cfm?id=20141

http://systeminetwork.com/article/rpg-and-ifs-working-directories
or http://www.systeminetwork.com/article.cfm?id=20235


You do need a paid membership, but it's money well spent. I pay for
mine out of my own pocket.

HTH,
Charles


2009/10/9 <rob@xxxxxxxxx>:
CPYTOSTMF is meant for either source physical files or "internally"
defined files, aka files with only one column.
CPYTOIMPF is the standard IBM command.
However if you want an option that doesn't seem to change with every
release of the operating system and performs better then I'd stay away
from CPYTOIMPF and roll your own with this:
http://www.scottklement.com/rpg/ifs.html


Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From:
"Steve Dodkins" <Steve.Dodkins@xxxxxxxxxxxxxxx>
To:
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Date:
10/09/2009 03:31 AM
Subject:
CPYTOSTMF
Sent by:
midrange-l-bounces@xxxxxxxxxxxx



I'd like to be able to use CPYTOSTMF to copy a file created by a query but
I get an error message

'Object is not a file or is a file with attributes not
supported by this command. '

is there a way around this?

Regards

Steve Dodkins
I.T Manager

ebm-papst UK Ltd
Chelmsford Business Park,
CM2 5EZ Chelmsford,
UK
Tel: +44 (0) 1245 468555
Dir: +44 (0) 1245 456510
steve.dodkins@xxxxxxxxxxxxxxx
www.ebmpapst.co.uk


ï please don't print this e-mail unless you really need to.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom
Sent: 08 October 2009 21:23
To: 'Midrange Systems Technical Discussion'
Subject: RE: SQL and a Running/Moving Total

+1 funny

Tom H


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of iseries@xxxxxxxxxxxx
Sent: Thursday, October 08, 2009 3:06 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: SQL and a Running/Moving Total

Table has 3 columns,Name,year,count Âand I need a total of the "count"
field
for each name over a 3 yr period, if there are NOT 3 years available
then no
output row.

Project approved. ÂPlease proceed.

<snip>
--
"When a man says he approves of something in principle, it means he hasn't
the slightest intention of putting it into practice."

--
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 email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
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.




This thread ...

Replies:

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

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