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



We will have to consume the service.

Dominique Couture
The Jean Coutu Group



date: Mon, 17 Dec 2007 16:35:32 -0500
from: rob@xxxxxxxxx
subject: Re: XML Signature ?

I know practically nothing about that, but it might help if you say
whether or not you are providing the service, or consuming the service.

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





Dominique Couture <DCouture@xxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 04:31 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
XML Signature ?







Hi,

I have a B2B project where I need to use XML Signature with WebServices on
the System i.
We use RPG on V5R4 and we don't have WebSphere and we don't have plans to
install it.
I know that there's some software that could help with WebService, SOAP,
XML and SSL but
nothing about XML Signature (as far as I know).

Is there anyone on this forum that have a clue on how to implement XML
Signature to do WebService using RPG ?

The only thing I found yet is a hardware that could do the job but I'm
trying to avoid that.

thanks

Dominique Couture
The Jean Coutu Group




rpg400-l-request@
midrange.com
Envoyé par : A
rpg400-l-bounces@ rpg400-l@xxxxxxxxxxxx
midrange.com cc

Objet
2007-12-18 01:38 RPG400-L Digest, Vol 6, Issue 1232


Veuillez répondre
à
rpg400-l@midrange
.com






Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of RPG400-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. RE: module/pgm analysis (lines of code) (rob@xxxxxxxxx)
2. XML Signature ? (Dominique Couture)
3. Re: XML Signature ? (rob@xxxxxxxxx)
4. Re: Multi- Occurrence Data Structure (qsrvbas@xxxxxxxxxxxx)
5. Re: Chinese characters printing with *SCS but not with *AFPDS
(ewart.desouza@xxxxxxxxxxx)
6. RE: module/pgm analysis (lines of code) (Jonathan Mason)
7. Re: module/pgm analysis (lines of code)
(Peter.Colpaert@xxxxxxxxxxx)


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

message: 1
date: Mon, 17 Dec 2007 16:00:40 -0500
from: rob@xxxxxxxxx
subject: RE: module/pgm analysis (lines of code)

Sure. Use CRTCMD against a source member that then calls a program that
uses the Retrieve ILE Program Information API.

Me, I'd rather use the information from the API directly than pipe that to
an output file and then process the output file. Much more efficient.

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





"Jay Vaughn" <jayv@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 03:51 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
RE: module/pgm analysis (lines of code)






Anyone know a command that will output all reference modules of a pgm to
an
outfile?

Thanks,

Jay Vaughn
Senior I5 Programmer/Analyst
RateWatch
(P) 251.633.8929
(F) 251.633.8929
www.rate-watch.com


-----Original Message-----
From: "DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 11:20:57 -0600
Subject: RE: module/pgm analysis (lines of code)


Why not DSPPGMREF to an outfile......

Eric

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jay Vaughn
Sent: Monday, December 17, 2007 11:03 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: module/pgm analysis (lines of code)


DSPPGM PGM(ROUTINES/ACCTDEL) DETAIL(*MODULE)

ahh man... only if that supported *outfile i would be in biz... is there a

command that will output referenced modules for a pgm into an outfile?

Thanks,

Jay Vaughn
Senior I5 Programmer/Analyst
RateWatch
(P) 251.633.8929
(F) 251.633.8929
www.rate-watch.com


-----Original Message-----
From: rob@xxxxxxxxx
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 11:16:58 -0500
Subject: Re: module/pgm analysis (lines of code)


See APIs.

There are some Retrieve Program Information API's. Based on those you
should be able to ascertain what modules make up those programs. Where
those source members were (at compile time). Then use the Retrieve Member

Description API to find out how many lines of source were in that.

Should be comparable to
DSPPGM PGM(ROUTINES/ACCTDEL) DETAIL(*MODULE)
and
RTVMBRD FILE(ROUTINES/QRPGLESRC) MBR(ACCTDEL)

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





"Jay Vaughn" <jayv@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 11:07 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
module/pgm analysis (lines of code)






I have been given the task (with a very short deadline) of examining
different programs and figuring out the total lines of code that make up
that pgm. Program and all modules are to be included.

Any quick way to do this via os/400 commands?

Thanks,

Jay Vaughn
Senior I5 Programmer/Analyst
RateWatch
(P) 251.633.8929
(F) 251.633.8929
www.rate-watch.com
--
This is the RPG programming on the AS400 / iSeries (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 AS400 / iSeries (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 AS400 / iSeries (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 AS400 / iSeries (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 AS400 / iSeries (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.




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

message: 2
date: Mon, 17 Dec 2007 15:36:23 -0500
from: Dominique Couture <DCouture@xxxxxxxxxxxxx>
subject: XML Signature ?


Hi,

I have a B2B project where I need to use XML Signature with WebServices on
the System i.
We use RPG on V5R4 and we don't have WebSphere and we don't have plans to
install it.
I know that there's some software that could help with WebService, SOAP,
XML and SSL but
nothing about XML Signature (as far as I know).

Is there anyone on this forum that have a clue on how to implement XML
Signature to do WebService using RPG ?

The only thing I found yet is a hardware that could do the job but I'm
trying to avoid that.

thanks

Dominique Couture
The Jean Coutu Group



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

message: 3
date: Mon, 17 Dec 2007 16:35:32 -0500
from: rob@xxxxxxxxx
subject: Re: XML Signature ?

I know practically nothing about that, but it might help if you say
whether or not you are providing the service, or consuming the service.

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





Dominique Couture <DCouture@xxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 04:31 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
XML Signature ?







Hi,

I have a B2B project where I need to use XML Signature with WebServices on
the System i.
We use RPG on V5R4 and we don't have WebSphere and we don't have plans to
install it.
I know that there's some software that could help with WebService, SOAP,
XML and SSL but
nothing about XML Signature (as far as I know).

Is there anyone on this forum that have a clue on how to implement XML
Signature to do WebService using RPG ?

The only thing I found yet is a hardware that could do the job but I'm
trying to avoid that.

thanks

Dominique Couture
The Jean Coutu Group

--
This is the RPG programming on the AS400 / iSeries (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.




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

message: 4
date: Mon, 17 Dec 2007 16:00:01 -0800
from: qsrvbas@xxxxxxxxxxxx
subject: Re: Multi- Occurrence Data Structure

Lim Hock-Chai wrote:

5. RE: Multi- Occurrence Data Structure (Lim Hock-Chai)

Yes, RPG cycle is part of RPG. But not many RPG folks have good
understanding of what it does. If this is the case, then my next
question would be: Is it really that hard to create a loop without using
rpg Cycle? If the answer is no, it is not hard to do, then why would
you want to use a technology that most RPG programmers have abandoned.
If your argument is about matching record, select record, look ahead...
features in RPG cycle, Well, if you read the recent question that
posted about using RPG cycle to do record matching, you would know that
it took several tries from some of those experts to get it right. Some
even admitted that he has to reference the reference book to finally got
it. Then, the same question: is it really that hard to do record
matching, look ahead... without using RPG cycle?


The reference to the recent 'Matching Records' thread is a good one, and
it's hard to respond to directly.

But perhaps there's an indirect response that could be instructive --
Search the archives for almost _any_ subject within RPG to see how many
tries it takes to get it right, including replies where a
misunderstanding of a manual was admitted.

How many tries did it take before the recent question about setting
6-digit decimal fields with a current date value was properly answered?
How many times has the use of *BNDDIR QC2LE been explained by Scott?
How many times does it take to get a proper answer for displaying
multiple windows without losing the underlying format?
How many ways are there to use SETLL/READE in a loop, and should %FOUND
or %EOF be used?
What's the correct usage of %KDS() when using a partial key list?

Those are areas that have been discussed multiple times in recent years,
yet inconsistencies still show up in posts from multiple experts. It's
not because they're difficult or obscure; it's because programming
involves inhuman precision and accuracy. We simply don't commit manuals
to memory (unless you have a cybernetic brain that's tuned for it like
Scott's, which isn't intended as a negative statement).

I'm not sure it's fair to count responses to a subject that hasn't had
much discussion in the past ten years. I'm not even sure that the number
of MR posts was more than some of the others.

Tom Liotta

--
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone 253-872-7788 x313
253-479-1416
Fax 253-872-7904
http://www.powertech.com



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

message: 5
date: Tue, 18 Dec 2007 09:15:53 +0530
from: ewart.desouza@xxxxxxxxxxx
subject: Re: Chinese characters printing with *SCS but not with *AFPDS

Hi Jeff,

Thanks a million for at least giving me some direction. Yes this
definitely helps. I just checked the system, we don't have the library
QFNT64. I did some searching & found the following code page. I'm not too
sure if it will work but I will give it a try.

Work with Objects Using PDM

Library . . . . . QFNTCPL Position to . . . . . . . .
Position to type . . . . .

Type options, press Enter.
2=Change 3=Copy 4=Delete 5=Display 7=Rename
8=Display description 9=Save 10=Restore 11=Move ...

Opt Object Type Attribute Text
T1000836 *FNTRSC CDEPAG PEOPLES REPUBLIC OF CHINA


Thanks again Jeff, I appreciate it.
Ewart










jeffw@xxxxxxxxxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 07:06 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>

To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Re: Chinese characters printing with *SCS but not with *AFPDS





Hi Ewart
I recently did something almost the same for our China plant and had the
same problem. We had to purchase the DBCS AFP Font Package from IBM. We
run
on v5r4 as well. I actually had the opposite problem. Could only get the
Chinese characters to print compiled as AFPDS (once we purchased the
package).

Check your system to see if you have a library called QFNT64. If you have
then you should have the needed library for the AFPDS compile. In order to
get a field to print in Chinese in AFPDS each field has to be compiled
with
the lib and font/size you want to print. For example here is a Chinese
customer name field defined on a printer file:

P#NAME 68O O 24
IGCCDEFNT(QFNT64/X0S32P (*POINTSIZE-
30 30))

FYI: you could have lineup problems with the field if you put both english
and chinese in the open field. I only recommend putting Chinese characters
in these fields. However you can always test it.

Hope this helps. Email me if you need anything else.

Thanks
Jeff Williams


Hello All,

I had sent this earlier but did not receive a response - hence I'm trying
my luck again !

I have a field which accepts both English as well as Chinese characters.
It prints fine when the print file is compiled with *SCS but somehow
prints junk when compiled with *AFPDS.

Does anyone know how to get the field printed properly ?? Or can point me
to a good site. I've tried going through the manuals but as usual I can
find everything else but what I want.

I am on V5R4.

Thanks & best regards
Ewart
--
--
This is the RPG programming on the AS400 / iSeries (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.




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

message: 6
date: Tue, 18 Dec 2007 06:27:55 -0000
from: "Jonathan Mason" <jonathan.mason@xxxxxxxxxxxxxxxx>
subject: RE: module/pgm analysis (lines of code)

Hi Jay

I have a utility that builds a cross reference of program/module/file
references that can be downloaded from my site. You could use that as a
basis for determining which modules and service programs are used by which
programs.

You can download the utility and source from
www.astradyne-uk.com/download.htm

All the best

Jonathan

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Jay Vaughn
Sent: 17 December 2007 17:03
To: RPG programming on the AS400 / iSeries
Subject: Re: module/pgm analysis (lines of code)

DSPPGM PGM(ROUTINES/ACCTDEL) DETAIL(*MODULE)

ahh man... only if that supported *outfile i would be in biz... is there a
command that will output referenced modules for a pgm into an outfile?

Thanks,

Jay Vaughn
Senior I5 Programmer/Analyst
RateWatch
(P) 251.633.8929
(F) 251.633.8929
www.rate-watch.com


-----Original Message-----
From: rob@xxxxxxxxx
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Date: Mon, 17 Dec 2007 11:16:58 -0500
Subject: Re: module/pgm analysis (lines of code)


See APIs.

There are some Retrieve Program Information API's. Based on those you
should be able to ascertain what modules make up those programs. Where
those source members were (at compile time). Then use the Retrieve Member
Description API to find out how many lines of source were in that.

Should be comparable to
DSPPGM PGM(ROUTINES/ACCTDEL) DETAIL(*MODULE)
and
RTVMBRD FILE(ROUTINES/QRPGLESRC) MBR(ACCTDEL)

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





"Jay Vaughn" <jayv@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/17/2007 11:07 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
module/pgm analysis (lines of code)






I have been given the task (with a very short deadline) of examining
different programs and figuring out the total lines of code that make up
that pgm. Program and all modules are to be included.

Any quick way to do this via os/400 commands?

Thanks,

Jay Vaughn
Senior I5 Programmer/Analyst
RateWatch
(P) 251.633.8929
(F) 251.633.8929
www.rate-watch.com
--
This is the RPG programming on the AS400 / iSeries (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 AS400 / iSeries (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 AS400 / iSeries (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.







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

message: 7
date: Tue, 18 Dec 2007 07:40:32 +0100
from: Peter.Colpaert@xxxxxxxxxxx
subject: Re: module/pgm analysis (lines of code)

If a larger number of lines makes you more productive, then /free is the
way to go:

Compare this:

c k1list Chain File

versus

Chain (field1:
field2:
field3:
%subst(field4:
1:
%len(%trim(field5))):
field6) File;

Ka-ching!

Not really kidding, though.

I've seen projects where the time estimate was 50 man-days.

So the manager reasoned that, if he put 25 people on it, it would be ready
the day after tomorrow.

Kind of like the same reasoning, it seems.

Peter Colpaert
Application Developer
PLI - IT - Kontich, Belgium
-----
Yoda of Borg are we. Futile is resistance, assimilated will you be.
-----



Vernon Hamberg <vhamberg@xxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
17/12/2007 18:04
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: module/pgm analysis (lines of code)






The Retrieve Program Information returns source information only for
OPM programs, I believe. It only gives module counts for ILE
programs. To get source for ILE programs, one needs to use the List
ILE Program Information. There is a format for listing modules and
their source information. Similarly, there is also a List Service
Program Information.

Of course, one first needs to do a DSPOBJD to an outfile, perhaps, to
get the list of programs and service programs and whether they are
OPM or ILE. The object attribute field will tell you that. Could also
use the List Objects API. There you want the extended object
attribute field of format OBJL0200 or higher.

Then there is the matter of embedded SQL - but at least one should be
able to get to the original source - unless you use a scheme where
the source is not the same name as the object - don't laugh - saw
that once - and also saw the contractor who did it, escorted out the
door summarily.

HTH
Vern


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

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) digest 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.



End of RPG400-L Digest, Vol 6, Issue 1232
*****************************************



As an Amazon Associate we earn from qualifying purchases.

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