Syntax Checking in File Tailoring Assistance
With File Tailoring Assistance, you can check the syntax of skeletons you have modified. A simulated file tailoring session resolves variable substitutions and presents the resulting file on the screen for review.
Note
File Tailoring Assistance does not resolve variables with values provided by ChangeMan ZMF panels and functional programs. Likewise, ISPF tables are not built. You can provide values for variables using the Release ID Variable facility described in the next section.
-
Display the Skeleton Maintenance Options menu using one of these two methods.
-
Access the Skeleton Maintenance Options panel directly by typing
=A.G.S.A
and pressing Enter.or
-
On the Skeleton Maintenance Option menu, select option A Assist. The File Tailoring Assistance panel (CMN3DSA0) is displayed.
CMN3DSA0 File Tailoring Assistance Option ===> S blank Display skeleton list E Edit skeleton S Select for file tailoring V View skeleton Skeleton name . . . CMN11 (Blank for list; required for options E,V,S) Release id . . . . (Blank for list) Application . . . . ACTP (Blank for list)
-
-
On the File Tailoring Assistance panel:
-
In the Application field, type the name of the application that contains the skeleton you want to test.
-
Type the name of a skeleton in the Skeleton Name field and press Enter, or leave the field blank and press Enter to display the Skeleton Member List panel, then type
S
in the line command for a skeleton and press Enter. You may have to select a Release ID first from the Release Id List panel (CMN3DSA2)
CMN3DSA2 Release Id List Row 1 to 1 of 1 Command ===> Scroll ===> CSR Id Changed User Description S V6R1 2008/07/09 13:35 USER25 ******************************* Bottom of data ******************************** ISREDDE2 CMNTP.A008A.#CE259A5.#75A7E25 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 //S8CPRMA JOB (SM-1IKF-SM),'CMN', 000002 // CLASS=A, 000003 // NOTIFY=USER25, 000004 // MSGCLASS=X 000005 //* 000006 //* THE ABOVE JOB CARDS CAME FROM THE IMBED OF SKEL CMN$$JCD 000007 //*)IM CMN$$JCD 000008 //* 000009 //* JOB REQUESTED BY USER25 ON 2014/12/02 AT 21:59 000010 //*
...
000011 //*)IM CMN$$DSN 000012 //*)IM CMN$$JBL 000013 //JOBLIB DD DISP=SHR,DSN=CMNTP.CMN810.C6.LOAD 000014 // DD DISP=SHR,DSN=CMNTP.SER810.C6.LOAD 000015 // DD DISP=SHR,DSN=CMNTP.CMN810.LOAD 000016 // DD DISP=SHR,DSN=CMNTP.SER810.LOAD 000017 #% 000018 //*)IM CMN$$SJN 000019 //* 000020 //* PACKAGE FROZEN BY USER015 ON 2014/12/02 AT 21:59 000021 //* 000022 //*)IM CMN$$DSN 000023 //*)IM CMN$$JBL 000024 //JOBLIB DD DISP=SHR,DSN=CMNTP.CMN810.C6.LOAD 000025 // DD DISP=SHR,DSN=CMNTP.SER810.C6.LOAD 000026 // DD DISP=SHR,DSN=CMNTP.CMN810.LOAD 000027 // DD DISP=SHR,DSN=CMNTP.SER810.LOAD 000028 //*)IM CMN11 000029 //* 000030 //* JOB TO INSERT ACTP000008 INFORMATION IN PACKAGE MASTER AT 000031 //* 000032 //*)IM CMN00INS 000033 //CMN00 EXEC PGM=CMNBATCH, *** Access ChangeMan ZMF started task 000034 // PARM='SUBSYS=6', 000035 // COND=(4,LT) 000036 //*)IM CMN$$SPR 000037 //SER#PARM DD DISP=SHR,DSN=CMNTP.SER810.C6.TCPIPORT
-
-
The JCL created from the file tailored skeleton is displayed, at least up to the point where a syntax error was detected or file tailoring assistance tried to resolve a variable or open a table that does not exist. Error messages from file tailoring are displayed at the top of the JCL.
Note
The record numbers referenced in error messages are the skeleton record numbers, not records in the output JCL.