I dont know what is easytrieve.But as per my knowledge this can be acheived through EASYTRIEVE.
I want to group values present in column 23 - 3bytes and column 36 - 3 bytes and get the count
The value in 23 position - 3 byte is not always HJU,MKL,DOS,WIN,NEN,NEW,HEW
It is the same with column 36 - 3 bytes
The ONE INPUT FILE IS
***************************** Top of Data ***********
2015304ALI3E7ANHHJH747HJU2013-05-01WER
2011504ALI3HRSDSDSD272HJU2013-05-29JUE
2015304ALI3IVUEFG09642MKL2013-05-01WER
2011504ALI3I1RTRTRT059DOS2013-05-01FEP
2011354GEN0SJFER22980RHJU2013-04-26WER
2015305GEN0T9ZIONEREREDOS2013-04-26SIN
2011304GEN0VTKRT92567RWIN2013-04-26FUL
2015304GEN1ZLDGFHSDFHDNEN2013-04-24WER
2011354GEN1ZMDFDFDRERENEN2013-04-26WER
20W1304GEN20YEREREREREHEW2013-05-29QTC
2011W04GEN21U643756634NEN2013-05-29WER
**************************** Bottom of Data *********
2ND INPUT FILE
**************************
WER
QTC
HMJ
**************************
The ouput I require is
WER HJU 2
WER MKL 2
QTC HEW 1
WER NEN 3
HMJ 0
Can someone help me with this.
Compare to files - write the count of matching - Easytrieve
Moderators: DikDude, Moderator Group
Compare to files - write the count of matching - Easytrieve
--------------
Regards
Jeba
Regards
Jeba
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page