I'm using a Job to push the records from a dataset to an MQ. The step is:
//MQSUF2Q EXEC IDB4MEXE,PROGRAM=IKJEFT01
//EQUCOST DD DISP=OLD,DSN=ABCM.TEST.RKCMF23.EQUCOST,
// DCB=(RECFM=FB,LRECL=42,BLKSIZE=26880)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
MQSUF2Q +
mqqmgr=IQM4 +
mqqueue=RKCM.TEST.REPLY +
filename=DD:EQUCOST +
filemode=r +
filenl=N +
mqmaxmsg=0
/*
//EQUCOST DD DISP=OLD,DSN=ABCM.TEST.RKCMF23.EQUCOST,
// DCB=(RECFM=FB,LRECL=42,BLKSIZE=26880)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
MQSUF2Q +
mqqmgr=IQM4 +
mqqueue=RKCM.TEST.REPLY +
filename=DD:EQUCOST +
filemode=r +
filenl=N +
mqmaxmsg=0
/*
This filenl=N + (means "new line" = no : this will write all the records in the file to the MQ in a single line without new line ). There
The LRECL of the dataset ABCM.TEST.RKCMF23.EQUCOST is 42. It has 4 records.
When this step executes pushes the file data to MQ. But in the 43rd position (end of first record), it is also pushing a junk character ("." as visible to us, 2 5 is the hex value). This is happening at the end of all the 4 records in the file, due to which further processes are failing.
Please note: I have verified that the file has no junk data.
Can you please advise how to proceed. Thanks in advance.
Thanks,
Anusha
[coded]