Ny apologies - Jerry is right, single quotes instead of double quotes is
correct.

Regards,
John McKay
Original Message:
-----------------
From: Jerry Adams Jerry@xxxxxxxxxxxxxxx
Date: Wed, 24 Jun 2009 15:52:58 -0500
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: help in start a first RPGLE program!!


For one thing, the double quotes are not valid; should be single quotes.
Which would result in a compile error. There should be a compilation
listing somewhere; try using WRKSPLF.

If the abend was a result of an executing program, there would have been an
error message (usually a CPFxxxx). In that case, position the cursor to
the error message, press F1 and display the message details. Frequently
there are preceding messages which tell the "real" story; pressing F10
(display job log) will display your current job's log.

That's the Reader's Digest version. Go from there.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of new_id Y
Sent: Wednesday, June 24, 2009 3:32 PM
To: RPG programming on the IBM i / System i
Subject: Re: help in start a first RPGLE program!!

/free

dsply "hello World";

*inlr = *on;

/end-free
I did as above but still i find that abnormal job :(

How i can know the error and check it?
Thanks



________________________________
From: John McKay <jmckay@xxxxxxxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, June 24, 2009 9:57:28 PM
Subject: Re: help in start a first RPGLE program!!

/free

dsply "hello World";

*inlr = *on;

/end-free

The attachment is a light overview, hopefully it will help.

Regards,
John McKay
www.rpglanguage.com

----- Original Message ----- From: "Jerry Adams" <Jerry@xxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, June 24, 2009 3:09 PM
Subject: RE: help in start a first RPGLE program!!


I once (and only once) wrote the (in)famous "Hello World" program in
Java. But only after sitting through a class (no pun intended).

Adam already indicated that the question was ill-formed. Did the program
compile, or is the compilation crashing? If the program compiled, what
error message(s) do you get?

As far as the rules are concerned, the RPG Manual might be a good place
to start; in fact, next to Barbara, Simon, and Scott, it's the gospel. For
V5R4 you can download a copy of the manual and various other useful
reference guides. If you are just learning RPG (any flavor) the manual is
a lousy place to start.

Hope this helps.

Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of new_id Y
Sent: Wednesday, June 24, 2009 4:06 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: help in start a first RPGLE program!!

Hi all,

I want help on how to start a simple program in RPGLE
I tried to write w hello world program but always i find the job end
abnormaly
What is the detailed steps to write RPGLE programs ? what is the rules i
have to follow?
Thanks



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

This thread ...


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.