Previous Topic: Example JCLNext Topic: FILEOUT (Define Output Data Sets)


Sample Report

Following begins a sample report showing the use of the FILEIN statement with the REPLACE function.

Date: mm/dd/ccyy ******************************************************************************** Page: 1 * CA Datacom/DB * Time: hh.mm.ss * General Utility * Release: 12 * Copyright © 2009 CA. All rights reserved. * SPnn ******************************************************************************** CONTROL CARD(S) .........1.........2.........3.........4.........5.........6.........7.........8 Œ FILEIN DEVICE=DISK,DTFNAME=BKPUP1 FUNCTION=FILEIN  DEVICE=DISK DTFNAME=BKPUP1 Ž

Date: mm/dd/ccyy ******************************************************************************** Page: 2 * CA Datacom/DB * Time: hh.mm.ss * General Utility * Release: 12 * Copyright © 2009 CA. All rights reserved. * SPnn ******************************************************************************** CONTROL CARD(S) .........1.........2.........3.........4.........5.........6.........7.........8 Œ REPLACE DBID=1,TABLE=F01,DTFNAME=BACKUP,SLACK=12,SORT=100, SORTWK=2,OPTION1='PRINT=ALL',DEVICE=DISK,MULTUSE=YES FUNCTION=REPLACE  DBID=00001 DEVICE=DISK DTFNAME=BACKUP MULTUSE=YES OPTION1=PRINT=ALL SLACK=0012 SORT=000000100 SORTWK=02 TABLE=F01 Ž

Œ

The command exactly as entered.



An analysis of keywords encountered and expected. Any errors found are flagged with a note in the left margin.

Ž

Any messages related to syntax processing.

Date: mm/dd/ccyy ******************************************************************************** Page: 3 * CA Datacom/DB * Time: hh.mm.ss * General Utility * Release: 12 * Copyright © 2009 CA. All rights reserved. * SPnn Base: 1 ******************************************************************************** Directory: PRODCXX  TABLE RECORDS F01 50



Table and records information.