|
I am sorry , but i got this message after i pressed F1
Additional Message Information
Message ID . . . . . . : CPF1240 Severity . . . . . . . : 50
Message type . . . . . : Completion
Date sent . . . . . .. : 06/24/09 Time sent . . . . .. . : 23:29:11
Message . . . . : Job 999515/NA123/P1 ended abnormally.
Cause . . . . . : Job 999515/NA123/P1 ended abnormally on 06/24/09 at
23:29:11. The job was running in subsystem QBATCH. If the subsystem name
is *N, either the job did not run in a subsystem or the subsystem name could
not be determined. One of the following occurred:
-- The job was ended (ENDJOB command).
-- The subsystem in which the job was running was ended (ENDSBS command).
-- An error occurred.
Recovery . . .. : Display the job log (DSPJOBLOG or WRKJOB OPTION(*SPLF)
command) for information why the job or subsystem ended abnormally. Correct
the error and try the request again.
Bottom
Press Enter to continue.
F3=Exit F6=Print F9=Display message details F12=Cancel
F21=Select assistance level
Print operation complete to the default printer device file.
________________________________
From: Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, June 24, 2009 11:52:58 PM
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.
--
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.
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.