Professional Documents
Culture Documents
Lab1 Assessment Modules: COBOL, VSAM and JCL Duration: 4 Hr. LAB1 - Question ID: 1G Login Note
Lab1 Assessment Modules: COBOL, VSAM and JCL Duration: 4 Hr. LAB1 - Question ID: 1G Login Note
1 LAB1 ASSESSMENT
Login Note:
STEP1: ISPF
o Allocate a PS dataset with the record length of 80, with naming convention as
below.
PS1 - <USERID>.L1G.BUS.PS1
Note: 1st row contains the header details, which need not be entered in the PS file
Filler Details: - One space filler to be inserted between each field in the PS file.
STEP2: JCL
o Sort the records from the PS1 dataset in ascending order based on Bus_No
o Remove the duplicate records.
o Copy the sorted records into 2rd PS file of record length 80 with the naming
convention ‘<USERID>.L1G.BUS.PS2’(allocate it in the sort step in JCL).
STEP3: JCL
o Allocate a VSAM KSDS dataset with RECORDSIZE (80, 80) and KEYS (3, 0) with
naming convention as below.
STEP4: ISPF
o Allocate a PS file(Transaction file) using ISPF menu options with a record length of
80 and with the below given naming convention,
PS3 - <USERID>.L1G.BUSTRN.PS3
STEP 5: COBOL
o If Operation = ‘U’, update the given record in the VSAM file. ( Do this Check
without using If condition )
o After updating, write the updated records to Output PS4 file
<USERID>.L1G.BUSTRN.PS4 of record length 80 and below layout:
Compile and run the above COBOL program to achieve the results.
Note: Sample compile and run JCL is available in “TLABADM.LAB.SYS.COMPRUN”. Go
in view mode and copy the members to your deliverable dataset.
INSTRUCTIONS:
Where X -> L1/L1AT1(L1 for first attempt, L1AT1 for second attempt) and
Note: Where <x> denotes the member no.(1 for 1st, 2 for 2nd member) and <yyy> denotes
the last 3 digits of your user ID.
o If each step is coded as a separate JCL, then the JCL members should be named
as “JA11A011”, “JA21A011” and so on.
o For COBOL Program, the member name should be “CA<x>1A<yyy>”
Note: Where <x> denotes the member no. (1 for 1st, 2 for 2nd member) and <yyy> denotes
the last 3 digits of your user ID.
If there are 2 members for a COBOL (Main program and sub program) created by
ID
o Upload all the expected deliverables as separate notepads in the mentioned area.
o Upload a notepad with name “<USERID>_DETAILS” and mention your Associate
ID and Lab Mainframe ID used in the assessment.
Available
Monday, 13 May 2013, 08:30 AM
from:
Submission draft
No files submitted yet