User:Heiko: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(About to remove extension)
 
(209 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= About =
== About ==
This is [[User:Heiko|Heiko]]s personal page, in which he maybe shares some private information or collects bits for new articles.
This is [[User:Heiko|Heiko]]s personal page, in which he maybe shares some private information or collects bits for new articles.


== Personal information ==
=== Personal Information ===
[[User:Heiko|Heiko]] has been in IT since the 90s, but never worked with an AS/400...until 2019. He'll document his first steps in the hope they will be useful to others.  
[[User:Heiko|Heiko]] has been in IT since the 90s, but never worked with an AS/400…until 2019. He'll document his first steps in the hope they will be useful to others.


= Ideas for new articles =
== Ideas for new articles ==
== Project Hello World ==
tbd
=== Preparations ===
Things you need:
* an AS/400 (obviously :) )
* an working account
* log in
* command prompt
* maybe this for easy reference: [[Basic Commands]]


=== Creating a physical file to hold the sources ===
== Articles to maintain ==
Every user has a personal library, like an home in an Linux environment. Since a user can have and use multiple libraries, the current (=default for all operations) is stored in </tt>*CURLIB</tt><ref>https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/rzarl/rzarlcurlib.htm</ref>.
* [[:Category:Programming]]
Because the value of <tt>*CURLIB</tt> can be changed by the screen you are currently working in, all following commands will contain my personal library name <tt>HKRETSCHME</tt>. It could be omitted if you're sure, <tt>*CURLIB</tt> is set correctly.
** [[99 Bottles Of Beer (using REXX)]]
** [[Hello World (using C)]]
** [[Hello World (using database, display file and RPG)]]
** [[Create a database and query it using ODBC from a linux machine]] <-- NEEDS A LOT OF WORK IN THE PHP DEPARTMENT!
* [[Editing Source Files using Eclipse and FTP]]
* [[Compile Sources Without Queuing]]
* [[How to solve Variadic Arguments issue (using C)]]


This command creates a physical file named <tt>HELLO01</tt>:
== Too many F-Keys to memorize ==
I'm using a small apple keyboard on which the F-keys aren't labeled very well. This helps a lot:


CRTSRCPF FILE(HKRETSCHME/HELLO01) RCDLEN(112) TEXT('Project Hello World')
[[Image:F-Tasten F13-F24 v2 Photo.jpg|666px]]


But I prefer to do this in more steps, which I'd recommend to every beginner (by the way: don't bother using cases, the AS/400 won't either. Using capital commands and names just makes it more readable in this article):
You can download it here: [[File:F-Tasten F13-F24 v2.pdf]]


CRTSRCPF
== Sandbox ==
If you don't give any parameters, you will be asked. This a very convenient way use all the available options without looking them up:
=== Screen mit MW-Bordmitteln ===


[[Image:HelloWorld01CRTSRCPF.png|666px]]
                                  Anmelden           
                                              System  . . . . . :   SLVRLAKE
                                              Subsystem . . . . :  QINTER
                                              Bildschirm  . . . :  QPADEV0004
                Benutzer  . . . . . . . . . . . .           
                Kennwort  . . . . . . . . . . . .
                Programm/Prozedur . . . . . . . .           
                Men}  . . . . . . . . . . . . . .           
                Aktuelle Bibliothek . . . . . . .           
                                        (C) COPYRIGHT IBM CORP. 1980, 2013.


== Project 99 Bottles of beer ==
=== Und nun Screen mit Bordmitteln und etwas HTML-Foo ===
I know Rexx from my OS/2 days. Why not trying to create and run a 99 bottles of beer?
<p style="color:green; background-color:black">
I got the source here: http://www.99-bottles-of-beer.net/language-rexx-2247.html
<tt>
=== Preparations ===
                                  Anmelden                                      <br/>
Things you need:
                                              System  . . . . . :  SLVRLAKE    <br/>
* an AS/400 (obviously :) )
                                              Subsystem . . . . :   QINTER      <br/>
* an working account
                                              Bildschirm  . . . :   QPADEV0004  <br/>
* log in
                                                                                  <br/>
* command prompt
                Benutzer  . . . . . . . . . . . .                                <br/>
* maybe this for easy reference: Basic Commands
                Kennwort  . . . . . . . . . . . .                                <br/>
* Create a physical file to hold the script. This is described in the [[Hello World Project]]. I created a file named <tt>BOTTLES</tt><ref><tt>'''99'''BOTTLES</tt> would have been nice, but filenames arenot allowed to begin with numbers</ref>.
                Programm/Prozedur . . . . . . . .                                <br/>
                Men}  . . . . . . . . . . . . . .                                 <br/>
                Aktuelle Bibliothek . . . . . . .                                 <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                                                                  <br/>
                                        (C) COPYRIGHT IBM CORP. 1980, 2013.      <br/>
</tt>
</p>


=== Creating a physical file to hold the sources ===
== See also ==
* [[Basic Commands]]


 
== Footnotes ==
----
* Links
** [[Basic Commands]]
* References:
<references/>
<references/>
[[Category:Basic Knowledge]]

Latest revision as of 16:41, 14 April 2024

About

This is Heikos personal page, in which he maybe shares some private information or collects bits for new articles.

Personal Information

Heiko has been in IT since the 90s, but never worked with an AS/400…until 2019. He'll document his first steps in the hope they will be useful to others.

Ideas for new articles

tbd

Articles to maintain

Too many F-Keys to memorize

I'm using a small apple keyboard on which the F-keys aren't labeled very well. This helps a lot:

F-Tasten F13-F24 v2 Photo.jpg

You can download it here: File:F-Tasten F13-F24 v2.pdf

Sandbox

Screen mit MW-Bordmitteln

                                  Anmelden            
                                              System  . . . . . :   SLVRLAKE
                                              Subsystem . . . . :   QINTER
                                              Bildschirm  . . . :   QPADEV0004

               Benutzer  . . . . . . . . . . . .             
               Kennwort  . . . . . . . . . . . .
               Programm/Prozedur . . . . . . . .             
               Men}  . . . . . . . . . . . . . .             
               Aktuelle Bibliothek . . . . . . .             













                                       (C) COPYRIGHT IBM CORP. 1980, 2013.

Und nun Screen mit Bordmitteln und etwas HTML-Foo

Anmelden
System . . . . . : SLVRLAKE
Subsystem . . . . : QINTER
Bildschirm . . . : QPADEV0004

Benutzer . . . . . . . . . . . .
Kennwort . . . . . . . . . . . .
Programm/Prozedur . . . . . . . .
Men} . . . . . . . . . . . . . .
Aktuelle Bibliothek . . . . . . .













(C) COPYRIGHT IBM CORP. 1980, 2013.

See also

Footnotes