Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
Modules: COBOL, DB2 and
JCL
LAB2 Question ID:
Duration: 4 Hr
2D
Login Note:
o
o
o
o
o
NOTE
o
DB2:
1. Using SPUFI, create a table BUSORG_DET1 with the below columns, to keep track
of the bus details:
2. Using SPUFI, create a table BUS_STAT1 with the below columns, to keep track of
the bus details:
3. Using SPUFI, insert the sample values into the corresponding tables:
i)
ii)
COBOL:
4. Using a COBOL program, with the help of embedded cursor get the bus details
(Bus number, bus start location, bus end location, bus type, bus issue ID, bus issue
description, fine) by joining BUSORG_DET1 table and BUS_STAT1 table whose bus issue
fine is greater than or equal to 100.00 into the PS file <TLABID>.BUS.ISSUE.DET of length
80 bytes in the below layout.
File Layout:-
Filler Details: One space between each field and the file length is 80 bytes._
DB2:
5. Using SPUFI, find the count of buses in each bus type is AC / UDX. (Form Table :
BUSORG_DET1)
JCL:
6.
TLABADM.LAB.SYS.COMPRUN.
INSTRUCTIONS:
o
Follow the below naming convention for the members, where the JCLs, SPUFI inputs
need to be placed:
o For JCLs, the member name should be JB<x>2D<yyy>
-> Note: Where <x> denotes the member number and <yyy> denotes the
last 3 digits of your user ID.
-> Ex: If there are 2 members for JCL created by ID TLAB001, the member
name should be JB12D001 andJB22D001
o
COBOL program
RUN JCL
SPUFI Inputs
DCLGEN
Upload all the expected deliverables as separate notepads in the mentioned area.
Upload a notepad with name <TLABID>_DETAILS and mention your Associate ID
and Lab Mainframe ID used in the assessment.
Availabl
e from:
Due
date: