I'm a beginner in DFSORT and appreciate your assistance for the problem I'm facing with shorter records.
Below is the error message, I'm receiving:
ICE218A 6 70 BYTE VARIABLE RECORD IS SHORTER THAN 72 BYTE MINIMUM FOR FIELDS
The JCL I'm trying to use is:
//STEP1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//PRINT DD DISP=OLD,DSN=XXXXXXX.XXXXXX.XXXXX
//DFSMSG DD SYSOUT=*
//TOOLIN DD *
COPY FROM(DBUDATA) TO(TEMP0001) USING(RACF)
DISPLAY FROM(TEMP0001) LIST(PRINT) NOHEADER ON(5,5,CH) -
ON(10,63,CH)
/*
//DBUDATA DD DISP=SHR,DSN=XXXXX.XXXXX.XXXXX
//TEMP0001 DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(100,10,0)),
// UNIT=3390
//RACFCNTL DD *
OPTION VLSCMP
INCLUDE COND=(5,1,CH,EQ,C' ',AND,
5,2,CH,NE,C' ',AND,
5,5,CH,NE,C' EXIT')
/*
//TOOLMSG DD SYSOUT=*
//PRINT DD DISP=OLD,DSN=XXXXXXX.XXXXXX.XXXXX
//DFSMSG DD SYSOUT=*
//TOOLIN DD *
COPY FROM(DBUDATA) TO(TEMP0001) USING(RACF)
DISPLAY FROM(TEMP0001) LIST(PRINT) NOHEADER ON(5,5,CH) -
ON(10,63,CH)
/*
//DBUDATA DD DISP=SHR,DSN=XXXXX.XXXXX.XXXXX
//TEMP0001 DD DISP=(NEW,DELETE,DELETE),SPACE=(CYL,(100,10,0)),
// UNIT=3390
//RACFCNTL DD *
OPTION VLSCMP
INCLUDE COND=(5,1,CH,EQ,C' ',AND,
5,2,CH,NE,C' ',AND,
5,5,CH,NE,C' EXIT')
/*
As you can see, I DO have the VLSCMP option specified (have also tried with VLSHRT and both at a time using OPTION VLSCMP,VLSHRT) but still get same error message.
DBUDATA DD statement contains the input dataset whose Record Format is VARIABLE and Record length is 263 and it consists of following records:
CONTROL ASIS
/****************************************************************/
/* */
/* The RACF Remove ID Utility (IRRRID00) was executed on */
/* 2011-06-27 at 18:03:10. */
/* */
/* This file contains RACF commands that can be used to */
/* identify references to user IDs and group IDs. Residual */
/* references on an access list are deleted with the PERMIT */
/* command. For all other references, commands are created to */
/* change the reference to another value. The default value */
/* is ?id. This allows all references to a particular ID to */
/* be easily changed to another value using a text editor. */
/* */
/* Commands to alter ROLE definitions will be created within */
/* comments for informational purposes, though the actual */
/* updates should be made from TME. The ROLE will not be */
/* updated with a replacement value for a group name. */
/* */
/****************************************************************/
PERMIT 'AAEDI1.EDIV30*' GENERIC ID(WTRKSUB ) DELETE
PERMIT 'AAEDI1.EDIV32*' GENERIC ID(WTRKSUB ) DELETE
PERMIT 'AAEDI1.EDIXXX*' GENERIC ID(WTRKSUB ) DELETE
PERMIT IKJTSO1 CLASS(TSOPROC ) ID(WTRKBTT ) DELETE
/****************************************************************/
/* The following commands delete profiles. You must review */
/* these commands, editing them if necessary, and then remove */
/* the EXIT statement to allow the execution of the commands. */
/****************************************************************/
EXIT
RDELETE SURROGAT WTRKSUB.SUBMIT
DELDSD 'WTRKBTT.YMSEDI.*' GENERIC
DELDSD 'WTRKBTT.*' GENERIC
DELUSER WTRKBTT
DELUSER WTRKCD
PRINT DD statement contains the output dataset whose Record Format is FIXED and Record length is 4096 and the expected output is:
PERMIT 'AAEDI1.EDIV30*' GENERIC ID(WTRKSUB ) DELETE
PERMIT 'AAEDI1.EDIV32*' GENERIC ID(WTRKSUB ) DELETE
PERMIT 'AAEDI1.EDIXXX*' GENERIC ID(WTRKSUB ) DELETE
PERMIT IKJTSO1 CLASS(TSOPROC ) ID(WTRKBTT ) DELETE
RDELETE SURROGAT WTRKSUB.SUBMIT
DELDSD 'WTRKBTT.YMSEDI.*' GENERIC
DELDSD 'WTRKBTT.*' GENERIC
DELUSER WTRKBTT
DELUSER WTRKCD