No problems
It all worked out in the end

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, July 26, 2019 4:16 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [EXTERNAL] free form and o specs

Glad to help.

Sorry I did;'t say it earlier - somehow I got it into my head that you wanted to do **Free.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 26, 2019, at 3:34 PM, Alan Shore via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

Hmmmm
My program was already coded in free form without using **Free anyway
So I just added a couple of o specs (header records) Created a print
file Ran the program Spool file created with the headings

Thanks Jon


Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of Jon Paris
Sent: Friday, July 26, 2019 12:07 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: free form and o specs

Or simply code in completely free form _without_ using **Free at the beginning.

Just type from column 8 onwards and you can mix free and fixed (O-specs) with no issues.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 25, 2019, at 7:27 PM, Roger Harman <roger.harman@xxxxxxxxxxx> wrote:

No, you don't *have* to. As others mentioned, you can put the O-specs in a /include.

I've done it a couple of times for a quick and dirty report request - one off's - not ongoing production.

Yes, it's a kludge but it is quick to put together - and one less object to manage.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power






--

From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of
Alan Shore via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, July 25, 2019 6:56 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: Alan Shore <ashore@xxxxxxxx>

Subject: RE: free form and o specs

It looks like I will need to use an externally described printer file

Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640

'If you're going through hell, keep going.'
Winston Churchill





-----Original Message-----

From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of Justin Taylor

Sent: Thursday, July 25, 2019 9:41 AM

To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>

Subject: [EXTERNAL] RE: free form and o specs



No, there are no free-format O-specs. You'd need an externally-described printer file.



Thanks







-----Original Message-----

From: Alan Shore via RPG400-L [mailto:rpg400-l@xxxxxxxxxxxxxxxxxx]

Sent: Thursday, July 25, 2019 8:28 AM

To: rpg400-l@xxxxxxxxxxxxxxxxxx

Cc: Alan Shore <ashore@xxxxxxxx>

Subject: free form and o specs



Hi everyone



We are on V7r3

Its been a while since I wrote a new program that produces a spool file With free-form, you declare a printer like dcl-f SLSRPT0055 Printer OflInd(pageFull); However - did anything replace the o-specs?

Ive done a google search and haven't really found anything - but then - could THAT be due to what I am searching for?

As always - all answers gratefully accepted





Alan Shore

E-mail : ASHORE@xxxxxxxx

Phone [O] : (631) 200-5019

Phone [C] : (631) 880-8640

'If you're going through hell, keep going.'

Winston Churchill





--

This is the RPG programming on IBM i (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 is the RPG programming on IBM i (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 is the RPG programming on IBM i (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 is the RPG programming on IBM i (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 is the RPG programming on IBM i (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 is the RPG programming on IBM i (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


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.