Example of displaying data without a template
Follow the steps in this example, to display a data set member that contains a copybook definition (suitable for viewing without a template).
- From the Z Data Tools Primary Option Menu panel, select 1 View.
- In the Data set name field, type
'HFM.V1R1M2.SHFMSAM1'
. - In the Member field, type HFMCCPY.
- Type
3
(None) in the Copybook/template usage field. - Press Enter to process the panel. Your results should look similar to below:
Figure 1. Viewing without a template Process Options Help ─────────────────────────────────────────────────────────────────────────────── View HFM.V1R1M2.SHFMSAM1(HFMCCPY) Top of 34 Col 1 Insert Length 80 Record AT TOP Format CHAR ----+----1----+----2----+----3----+----4----+----5----+----6----+----7-- ****** **** Top of data **** 000001 *** +++++++++++++++++++++++++++++++++++++++++++++++++++ 000002 * HCL Z Data Tools, Version 1 000003 * Licensed Materials - Property of HCL 000004 * 000005 * 19OP1220 HCL Z Data Tools 000006 * 000007 * (C) Copyright IBM Corp. 1986, 2017. 000008 * All Rights Reserved. 000009 * (C) Copyright HCL Technologies Ltd. 2019, 2022. 000010 * All Rights Reserved. 000011 * 000012 * US Government Users Restricted Rights - Use, 000013 * duplication or disclosure restricted by GSA ADP 000014 * Schedule Contract with IBM Corp. 000015 * 000016 * Sample COBOL copybook to demonstrate the Z Data tools 000017 * field level processing. 000018 * The associated template is HFMCTMPL and the sample Command ===> Scroll CSR F1=Help F2=Zoom F3=Exit F4=CRetriev F5=RFind F6=RChange F7=Up F8=Down F9=Swap F10=Left F11=Right F12=Cancel
- Press F8 to scroll down and view the copybook contents.
- Press F3 to exit and return to the Edit (or View) Entry panel.