5th program is an RPG38 that has the program in the F-Spec. Just like the other 4.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, January 21, 2009 8:23 AM
To: RPG programming on the IBM i / System i
Subject: RE: USRDTA issue.
How does the application program use the printer file? For example is the
5th program a rpg program that has it in an F spec, or is the 5th program
a CLP that does a CPYF to a spool file or some such thing?
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From:
Mark Walter <mwalter@xxxxxxxxxxxxxxx>
To:
"'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
Date:
01/21/2009 08:02 AM
Subject:
RE: USRDTA issue.
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
Sorry,
The spooled file is created by an application program. I'll check the
printer file definition, but the previous 4 programs that use that printer
file have the application program as the usrdta. On the fifth, it's blank.
Mark
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, January 20, 2009 4:06 PM
To: RPG programming on the IBM i / System i
Subject: RE: USRDTA issue.
So was the sample I sent you. QSYSPRT is an existing printer file on your
system, and is the exact one I used in my sample. Take another look.
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From:
Mark Walter <mwalter@xxxxxxxxxxxxxxx>
To:
"'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
Date:
01/20/2009 03:59 PM
Subject:
RE: USRDTA issue.
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
Sorry, I should have specified. It's internally described. QSYSPRT.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, January 20, 2009 3:49 PM
To: RPG programming on the IBM i / System i
Subject: Re: USRDTA issue.
What about the printer file itself?
*SOURCE
If the spooled file was created by an application program, the
name of that program is used. Otherwise, blanks are used.
CHGPRTF FILE(...) USRDTA(*SOURCE)
CPYF FROMFILE(ROB/ANN) TOFILE(*PRINT)
WRKSPLFA FILE(QSYSPRT) SPLNBR(*LAST)
User-specified data . . . . . . . . . :
User defined data . . . . . . . . . . : *NONE
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From:
Mark Walter <mwalter@xxxxxxxxxxxxxxx>
To:
"'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
Date:
01/20/2009 03:27 PM
Subject:
USRDTA issue.
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx
I have a client running RPG38/CLP38 code on V5R4 and she has a weird
occurrence happening.
Basically she has a CL that does a FMTDTA, then calls a program to print a
report, then does a FMTDTA then calls a program to print a report, and
this goes on for about 5 reporting program. The first 4 programs' output
has a user data on the spooled file of the program name. The fifth one is
blank. There is nothing in the OVRPRTF command that I would see that
causes this.
Any ideas?
Thanks,
Mark
Mark Walter
IBM Certified System i Specialist
Paragon Consulting Services, Inc
mwalter@xxxxxxxxxxxxxxx<mailto:mwalter@xxxxxxxxxxxxxxx>
www.paragon-csi.com<
http://www.paragon-csi.com/>
717.764.7909 Ext. 26
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.