Richard

Thanks

I have spent a long time on google finding almost nothing. The Common
request seems like a good idea.

Jim


------------------------------

message: 4
date: Thu, 5 Apr 2012 09:29:48 -0500
from: Richard Schoen <richard@xxxxxxxxxxxxxxx>
subject: RE: Printing web format images (JPG) from IBM i

Jim,

Probably your best bet is to learn how to use iText or some other PDF
builder to embed images in your PDF documents.

Or at the risk of hearing from Whiny-Rob again, purchase commercial
software :-)

There is also:
-QIMGCVTI API, but I don't see any good examples.
-There are DOS utilities you can purchase to convert them from the PC.
-Call IBM and ask for help or submit to COMMON as a 2020 request as Dan
mentioned.

Google and experimentation is your friend, unless you're being paid by the
hour :-)

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
------------------------------

message: 7
date: Thu, 5 Apr 2012 09:02:47 -0500
from: James Horn <jdhorn@xxxxxxxxxxxxxx>
subject: RE: Printing web format images (JPG) from IBM i

Thanks guys for keeping this thread alive. It sure would be nice if some
IBM'er (or anyone) who actually has access to a complete answer would step
in. Or if there is someone out there who can say "Sure, we use this all
the time on this printer. Here's a little sample code." The keyword
AFPRSC has been around for so long you would think the answer would exist.
If we keep printing from rpg, we are all probably going to need this
functionality soon.

Does it only work on some printers? If so, some examples and why?
Does it only work to create pdf's? If so what are the techniques and
gotchas of sending the pdf back to the printer?
Do you need Infoprint?
Do you need psf/400?



------------------------------

message: 5
date: Thu, 5 Apr 2012 14:32:35 +0000
from: "Stone, Joel" <Joel.Stone@xxxxxxxxxx>
subject: RE: we are using Aldon Lifecycle Manager for System i - how
to create a file conversion pgm

Why is a very simple CL with CPYF a poor choice? It will do the job
WITHOUT naming fields, and could be used on ANY file conversion - as
opposed to SQL, which would need specific fields named and is NOT reusable
for other files??

Step1:
To copy data with ONLY field name changes (no new fields, no field length
changes:
CPYF *nochk from SOURCELIB to QTEMP version of file with field name changes


Step2:
CPYF *MAP *DROP from QTEMP to TARGETLIB version of file with field name
changes AND new fields inserted.


Please explain why this simple, reusable method would be a poor choice??





-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:
midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Thursday, April 05, 2012 8:37 AM
To: Midrange Systems Technical Discussion
Subject: Re: we are using Aldon Lifecycle Manager for System i - how to
create a file conversion pgm

CL is a poor choice for your needs...

Looking at the example (ACMSUSER/USEREXIT(DATACNV)

DCL &OBJNAME *CHAR 10
DCL &OBJLIB *CHAR 10
DCL &SAVNAME *CHAR 10
DCL &SAVLIB *CHAR 10

&OBJLIB/&OBJNAME is the new version of your file without data.
&SAVLIB/&SAVNAME is the old version of your file with your data.

You can use the INSERT part of chuck's SQL example, but you'll have to
create the statement dynamically and run it using PREPARE and EXECUTE
or just EXECUTE IMMEDIATE.

wSQLstmt = 'insert into ' + %trim(objlib) + '/' + %trim(objname)
+ '(fld1, newfld2, fld5)
+ ' select fld1, fld2, fld3 '
+ ' from ' + %trim(savlib) + '/' + %trim(savname)


HTH,
Charles

On Wed, Apr 4, 2012 at 5:51 PM, Stone, Joel <Joel.Stone@xxxxxxxxxx> wrote:
Im trying to write a CL routine to promote a file with fields renamed
AND several fields added into the middle of the record format.


I am looking for an example data conversion program. ?If you have one
you could share to get me started, that would be great!


1) ? ? ?CPYF *nochk to copy the data
2) ? ? ?CPYF *map to move the data into the proper fields


Do I use *LIBL for the "from" lib?

Do I use &OBJLIB for the "target" lib?


They provide a sample CL with parms only, not much regarding what they
contain.

Thanks



______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
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 inbound email has been scanned for all viruses by the MessageLabs
SkyScan
service.
________________________________________________________________________

______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________


------------------------------

message: 6
date: Thu, 5 Apr 2012 09:23:49 -0500
from: <elehti@xxxxxxxxxxxxxxxxxx>
subject: RE: Client Access - users clicking the red X while still
signed on

The response I got from IBM Tech Support on the issue of users clicking
the red X while still signed on:
IBM does not provide the capability to deactivate the red X. It would
take some programming to prevent people from closing their active 5250
session (red X), and IBM is not going to provide that at this time.




------------------------------

message: 7
date: Thu, 5 Apr 2012 09:52:10 -0500
from: "sjl" <sjl_abc@xxxxxxxxxxx>
subject: Re: we are using Aldon Lifecycle Manager for System i - how
tocreate afile conversion pgm

Joel -

Can you explain why are you adding new fields in the middle of the record
format? In every shop where I have worked [or managed]. we made it a rule
to add new fields to the end of the record...

If you are renaming fields and adding new fields to the /end/ of the record
layout, you could use CPYF with FMTOPT(*NOCHK) during promotion to promote
the data.

However, since you are inserting new fields between existing ones you will
definitely need a custom program or a RUNSQL script which needs to be
called
/after/ promotion which will update the data in the file.

I am also fairly certain that you will need to make a copy of the file
/before/ promoting the changes:

1) as an input file for the conversion program, and
2) because I am not sure what happens to the data in the file once the
changes have been promoted.

Paul can probably recommend the steps needed to do this within the Aldon
CMS - my most recent experience has been with Implementer, not ACMS.

- sjl



"Stone, Joel" wrote in message
news:mailman.7538.1333635467.14575.midrange-l@xxxxxxxxxxxx...

Yes there is a shell sample in there, but NO CODE at all, only parms with
NO
descriptions. The manual has descriptions, but no example code. Im
looking
for a simple example that I can run with.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Nelson
Sent: Wednesday, April 04, 2012 5:49 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: we are using Aldon Lifecycle Manager for System i - how to
create afile conversion pgm

Look in the library named ACMSUSER. I think there's a sample in there.

Paul Nelson
Office 512-392-2577
Cell 708-670-6978
nelsonp@xxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Wednesday, April 04, 2012 4:51 PM
To: 'Midrange Systems Technical Discussion'
Subject: we are using Aldon Lifecycle Manager for System i - how to create
afile conversion pgm

Im trying to write a CL routine to promote a file with fields renamed AND
several fields added into the middle of the record format.


I am looking for an example data conversion program. If you have one you
could share to get me started, that would be great!


1) CPYF *nochk to copy the data
2) CPYF *map to move the data into the proper fields


Do I use *LIBL for the "from" lib?

Do I use &OBJLIB for the "target" lib?


They provide a sample CL with parms only, not much regarding what they
contain.

Thanks



______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
--
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 inbound email has been scanned for all viruses by the MessageLabs
SkyScan
service.
________________________________________________________________________

______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs
Skyscan service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________



------------------------------

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest 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.



End of MIDRANGE-L Digest, Vol 11, Issue 518
*******************************************





This thread ...

Follow-Ups:

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