Hi All,
I'm looking to enhance (read replace) a current function and I want to try to use DFSORT.
The first part of the process matches partial dataset names against full dataset names.
For example:
File A contains:
MY.DATASET.ONE
MY.DATASET.TWO
MY.OTHER.DATASET
If file B contains:
MY.DATASET.ONE
Then only one dataset name is matched
If file B contains:
MY.DATA
Then two datasets are matched
If file B contains:
MY
Then three datasets are matched
File B can contain multiple partial names and they are not necessarily in ascending order.
Partial Dataset Name Match
Moderators: Frank Yaeger, Moderator Group
IF you had a dataset (not file) MYALT.DATASET.ONE in dataset A and dataset B contained MY would you expect the MYALT dataset to be matched? And can one assume for example purposes that both datasets are LRECL=80 and RECFM=FB?
Will dataset B contain only one record to used as the selection template or multiple records?
Will dataset B contain only one record to used as the selection template or multiple records?
Regards
Nic
Nic
-
- Member
- Posts: 2
- Joined: Mon Dec 09, 2013 9:12 pm
Hi Nic,
Thanks for the reply.
Thanks for the reply.
- 1. Yes, as stated in my original post, file B can cotain multiple entries.
2. A request for MY would list MYALT.DATASET.ONE whereas a request for MY. (with a period) wouldn't.
3. File B will most likely be SYSIN data (LRECL=80) but file A is VB with the dataset name in a fixed position.
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