Hi
Well I have included the DD statement for the file.
EZTREV01 EXEC EZTPLUST,TIME=60,SYSPRNT='*'
FILEIN DD DSN=009734.TAVISHA.SRT,DISP=SHR (INPUT)
FILENM DD DSN=009734.TAVISHA.FILEMAIN, (TEMP)
UNIT=SYSDA,STORCLAS=TEST,
SPACE=(TRK,(100,100),RLSE),
DCB=(RECFM=FB,LRECL=27,BLKSIZE=2700),
DISP=(NEW,CATLG,DELETE)
FILEOUT DD DSN=009734.TAVISHA.FILEOUT, (OUTPUT)
UNIT=SYSDA,STORCLAS=PROD,
SPACE=(TRK,(100,100),RLSE),
DCB=(RECFM=FB,LRECL=4800,BLKSIZE=0),
DISP=(NEW,CATLG,DELETE)
As far as code is concerned I am just doing
GET FILEIN (this is my input file)
initializing the variables for FILENM
FM-ALLNC-ID = ' '
FM-APLYD-DT = ' '
FM-BTCH-NUM = 0
FM-AMT = 0
FM-CLS-CD = ' '
FM-CA-CD = ' '
FM-CA-ID = 0
Checking for particular conditions and then moving the variables of input file to this temp file
FM-ALLNC-ID = FI-ALLNC-ID
FM-APLYD-DT = FI-APLYD-DT
FM-BTCH-NUM = FI-BTCH-NUM
FM-AMT = FI-AMT
FM-CLS-CD = FI-CLS-CD
FM-CA-CD = FI-CA-CD
FM-CA-ID = FI-CA-ID
PUT FILENM (finally putting it in this file)
Please guide where m I going wrong.Thanks for ur prompt reply.