I have tried to load a MQ with a flat file (RECFM=FB) of LRECL=62. Then I have converted the FB file (DDname: OUTPUTA) into VB of LRECL=66 and then tried again the CSQUTIL job is abending. Can any body tell me what kind of file I should have to load it into a MQ. The following is the piece of JCL I have been using. The error I was getting is also given below:
CSQU062E Incorrect format data record
Thanks Bill. Your suggesion just guided me to stop searching in the web for a utility program that can load flat file to MQ. At last, I could wirte a COBOL to load the MQs with my desired flat file. Thanks again
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
If you can access the distributed MQ libraries, they supply many sample programs that can be tailored to your needs. The libraries are hlq.SCSQSAMP, hlq.SCSQCOBS and hlq.SCSQASMS. Browse thru the members and read the comments.