I Series Presentation

37
Brief Presentation on AS400

description

Basic I- Series

Transcript of I Series Presentation

Page 1: I Series Presentation

Brief Presentation on

AS400

Page 2: I Series Presentation

Introduction to AS400• AS stands for "Application System”.• It is multiuser, multitasking and very secure

system.• It is used for the industry which requires

sensitive data to be stored and processed simultaneously.

• The AS/400 was first introduced by IBM on June 21st, 1988 and later renamed to as eServer i-Series in 2000.

Page 3: I Series Presentation

Features of AS400

• It has Object orientation i.e. everything that can be stored or retrieved on the system is known as an “objects”.

• Another feature of AS400 is that it is very secure system making it to store sensitive data.

Page 4: I Series Presentation

What is a Library in AS400• A Library is a collection of objects.

• When we execute a command or call a program, the AS/400 must know where to find the command or program and the answer is library.

• QSYS is the root library that contains other library.

• A library contain the object name, type, and the address.

• System supplied libraries begin with the letter "Q" or "#".• • When you logon the first library to be load is QSYS.

Page 5: I Series Presentation

Steps to Start a New Session in i-Series

Page 6: I Series Presentation

Step 1- Install i-series setup in your machine.

Step-2 Install Junos Pulse and Login into it.

Page 7: I Series Presentation

Step-3 Go to Start and open Emulator as shown in below screen

Page 8: I Series Presentation

Step-4 Below screen will be pop-up, Start a new session.

Page 9: I Series Presentation

Step-5 Provide the IP Address of the application in which you wants to login and press OK.

For Development use IP-167.229.15.135.

Page 10: I Series Presentation

Step-6 Login into i-Series using your Credentials and press OK

Page 11: I Series Presentation

Step-7 Provide your Credentials again and press Enter.

Page 12: I Series Presentation

Step-8 Take option 1 against Development and press Enter.

Page 13: I Series Presentation

Step-9 Below screen will appear with command line highlighted as red colour

Page 14: I Series Presentation

Frequently Used Commands.

Page 15: I Series Presentation

DSPLIBL ---------To Display Library List.

WRKOBJ ---------It gives you the information of Object

WRKMBRPDM-- To see all the members any source PF

DSPFD------------ To see file description

DSPFFD-----------To display file field description.

WRKSPLF---------To see the spool files.

WRKJOB --------- To display Job Details

CPYF-------------To copy one file

Page 16: I Series Presentation

Steps to Start SQL in i-series

Page 17: I Series Presentation

Step-1 Type command STRSQL on command line and press Enter.

Page 18: I Series Presentation

Step-2 Below screen will appear where we can write our SQL statements on command line highlighted as

red colour.

Page 19: I Series Presentation

Important functional keys for SQL

F3- To exit from current window.F4 – To Prompt.F5 – To Refresh.F6 – To insert line.F10- To copy line.F12 – To cancel.F14- To delete line.F15- (Shift+F3) to split line.

Page 20: I Series Presentation

Example for SELECT Query in i-series.

Page 21: I Series Presentation

Step-1 Type SELECT on SQL command line and press F4.

Page 22: I Series Presentation

Step-2 Below screen will appear and fill the required rows or press F4 against each row.

Page 23: I Series Presentation

Step-3 Press F4 against ‘FROM file’ row below screen will appear containing list of libraries and select library by taking option 1

against the library name and press Enter.

Page 24: I Series Presentation

Step-4 Now select files from the selected library according to the selection criteria (example shown below) press Enter.

Page 25: I Series Presentation

Step-5 Now select required fields from the file by taking F4 against ‘SELECT field row’.

Page 26: I Series Presentation

Step-6 Select the fields according to required sequence as shown below and press Enter

Page 27: I Series Presentation

Step-7 Similarly provide the required details and make a query and press Enter.

Page 28: I Series Presentation

Step-8 Now the query will execute and output will be shown. Take F12 to return to SQL command line.

Page 29: I Series Presentation

Step-9 All the previous queries(either executed or cancelled) will be shown on this screen.

Page 30: I Series Presentation

Steps to save a SQL Query as a file.

Page 31: I Series Presentation

Step-1 Press F9 to write the most previous query on command line and take Shift+F1

Page 32: I Series Presentation

Step-2 Take option 1 as selection to change session attributes.

Page 33: I Series Presentation

Step-3 Take option 3 against ‘SELECT Output’ to save query as a file and press Enter.

Page 34: I Series Presentation

Step-4 Provide output file name and library and press Enter.

Page 35: I Series Presentation

Step-5 Below screen will be shown and press Enter again to create output file.

Page 36: I Series Presentation

Step-6 Now the output file will be created as shown below.

Page 37: I Series Presentation

Thank You