JCL and COBOL Scenario based question

  Рет қаралды 20,955

IIWOWIIS

IIWOWIIS

Күн бұрын

Пікірлер: 14
@dhanasekar1781
@dhanasekar1781 5 жыл бұрын
Thanks for the videos.
@Jashu0819
@Jashu0819 5 жыл бұрын
Thank you.. Very useful stuff
@iiwowiis5354
@iiwowiis5354 3 жыл бұрын
I am glad that the video is useful!
@deepakchandra8865
@deepakchandra8865 5 жыл бұрын
Thanks for making such useful videos... Requesting you to make videoes regularly ...
@iiwowiis5354
@iiwowiis5354 5 жыл бұрын
Thanks for your comment Deepak Chandra. I will post the videos regularly.
@deepakchandra8865
@deepakchandra8865 5 жыл бұрын
Thanks!!!😊
@MrAkshay80
@MrAkshay80 2 жыл бұрын
Can you share the jcl to compile the cobol program?
@iiwowiis5354
@iiwowiis5354 3 жыл бұрын
Let us assume the key values from both the input files are as follows: File1 File2 1 1 2 3 3 5 then the logic would be: Read file1 Read file2 1st time: 1 = 1 . matched record. read next record from File1 and File2 2nd time: 2 < 3 . Key value 2 is present only in File1 but not available in File2. so, record 2 from File1 is moved to the output file (Unmatched from File1) Read next record of File1 3rd time: 3 = 3 . matched record. read next record from File1 and File2 4th time: 3 < 5 . If File1-EOF = 'Y', move file2 to output file Move 5 to output file (Unmatched from File2)
@arunachalasiva5787
@arunachalasiva5787 3 жыл бұрын
Could you elaborate on this by showing records matching with the logic and how it write to out file. Thanks in advance
@iiwowiis5354
@iiwowiis5354 3 жыл бұрын
Thanks for asking. I have updated the matching logic in the generic comment section.
@iiwowiis5354
@iiwowiis5354 3 жыл бұрын
COBOL Logic: PROCESS-PARA. IF WS-IEOF = 'N' OR WS-IEOF2 = 'N' IF File1 > File2 IF File2-EOF = 'N' Write File2 to Output file (Present only in File2) Read File2 ELSE MOVE FILE1 To output file (Present only in File1 ) Read File1 END-IF ELSE IF File1 < File2 IF File1-EOF = 'N' MOVE FILE1 to output file( Present only in File1) Read File1 ELSE MOVE FILE2 to output file(Present only in File2) Read File2 END-IF ELSE IF IEMPNO = IEMPNO2 MOVE FILE1 to output file (Matched record) Read File1 Read File2 END-READ
@muhafeezsayyed2175
@muhafeezsayyed2175 3 жыл бұрын
Can you please teach me mainframe course
@kuruvamallesh4472
@kuruvamallesh4472 5 жыл бұрын
Hi Sir can you provide cobol code in comment section.
@iiwowiis5354
@iiwowiis5354 5 жыл бұрын
I have just updated the COBOL code in the description section.
VSAM file handling
12:13
IIWOWIIS
Рет қаралды 6 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Mainframe Developer Interview Question ~ Scenario Based Question
13:11
you will never ask about pointers again after watching this video
8:03
JCL Interview Questions and Answers  | Mainframe | JCL| IBM |
10:35
InterviewGIG - Job Interview Questions
Рет қаралды 24 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН