User:Heiko: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
Line 3: Line 3:


== 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.
 
== Sandbox ==
<console>
Last login: Mon Sep 30 14:29:57 on ttys000
WroDos-MBP:~ heiko$ bin
bin/          bind          binhex        binhex.pl      binhex5.18.pl
WroDos-MBP:~ heiko$ bin
bin/          bind          binhex        binhex.pl      binhex5.18.pl
WroDos-MBP:~ heiko$ bin/
.forwardUniversal.command.swp
Adium Reconnect.app
Archive/
Backup.conf
Backup.sh
Futurama-Download/
PerlModules/
Workflows/
asr-backup.command
backupManually.sh
backupScript_Pis.sh
backupSystemToDisk.command
backupSystemToImage.sh
backup_Daten_HD_to_Time_Machine_Backup.sh
backup_Philme_RAID_To_Two_HDs.sh
bond.sh
class-dump
copyEinkaufslisteToiPod.sh
doardforward.command
enableARD.sh
encode.sh
ffmpeg
fixMyPermissions.sh
WroDos-MBP:~ heiko$ bin/tickets.sh
 
                                  Anmelden           
                                              System  . . . . . :  SLVRLAKE
                                              Subsystem . . . . :  QINTER
                                              Bildschirm  . . . :  QPADEV0004
 
                Benutzer  . . . . . . . . . . . .           
                Kennwort  . . . . . . . . . . . .
                Programm/Prozedur . . . . . . . .           
                Men}  . . . . . . . . . . . . . .           
                Aktuelle Bibliothek . . . . . . .           
 
 
 
 
 
 
 
 
 
 
 
 
 
                                        (C) COPYRIGHT IBM CORP. 1980, 2013.   
</console>


= Ideas for new articles =
= Ideas for new articles =

Revision as of 13:31, 30 September 2019

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.

Sandbox

<console> Last login: Mon Sep 30 14:29:57 on ttys000 WroDos-MBP:~ heiko$ bin bin/ bind binhex binhex.pl binhex5.18.pl WroDos-MBP:~ heiko$ bin bin/ bind binhex binhex.pl binhex5.18.pl WroDos-MBP:~ heiko$ bin/ .forwardUniversal.command.swp Adium Reconnect.app Archive/ Backup.conf Backup.sh Futurama-Download/ PerlModules/ Workflows/ asr-backup.command backupManually.sh backupScript_Pis.sh backupSystemToDisk.command backupSystemToImage.sh backup_Daten_HD_to_Time_Machine_Backup.sh backup_Philme_RAID_To_Two_HDs.sh bond.sh class-dump copyEinkaufslisteToiPod.sh doardforward.command enableARD.sh encode.sh ffmpeg fixMyPermissions.sh WroDos-MBP:~ heiko$ bin/tickets.sh

                                  Anmelden            
                                              System  . . . . . :   SLVRLAKE
                                              Subsystem . . . . :   QINTER
                                              Bildschirm  . . . :   QPADEV0004
               Benutzer  . . . . . . . . . . . .             
               Kennwort  . . . . . . . . . . . .
               Programm/Prozedur . . . . . . . .             
               Men}  . . . . . . . . . . . . . .             
               Aktuelle Bibliothek . . . . . . .             







                                       (C) COPYRIGHT IBM CORP. 1980, 2013.    

</console>

Ideas for new articles

Project Hello World

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

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 *CURLIB[1]. Because the value of *CURLIB can be changed by the screen you are currently working in, all following commands will contain my personal library name HKRETSCHME. If you are sure *CURLIB is set correctly, you can omit the library.

This command creates a physical file named HELLO01:

CRTSRCPF FILE(HKRETSCHME/HELLO01) RCDLEN(112) TEXT('Project Hello World')

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):

CRTSRCPF

If you don't give any parameters, you will be asked. This a very convenient way to use all the available options without looking them up:

HelloWorld01CRTSRCPF.png

--> Beginners Project: Hello World (using database and display file)