Currently I am running a job with SYNCSORT. I am encountering an abend U0016. For my output file I need it to be fixed block record format and having a lrecl of 203. But when I declare it for my output file, it did not allow it.This is the error message, below:
Then, I also try to just commented out the RECFM attribute, the job automatically assigned an FBA record format type to the file and added a single byte in the first field of the file (which is unncessary) that causes my file doesnt match with the copybook. Is that the FBA format caused it? What is FBA? What is the difference betwwen FB and FBA record format? How can I achieve an FB record format type of file in this step?
Since Header and Trailer is a report parameter, you have to declare it as FBA instead of FB. That's why it is taking the output file as FBA as it is Report/print file.
NOTE : The "RECFM=FBA" is a parameter of the DCB option in MVS JCL and indicates that a print file will be fix blocked and contain ASA type printer carriage control characters in the first position of the record written. 1 Byte extra is for page eject.
If you don't want that extra ANSI char to be there in output use REMOVECC.
Well thanks Emman!!! But my sincere advice to you and others ...... Plz first try solving the problem by yourself by going onto different books/sites or by using valuable Search Engines. You 'll definitely(99% times) get an answer to your queries. Then come to share your problem with forum as the replies here may take long which can dealy your deliveries. Or else you can do both the things simultaneoulsy i.e taking help from forum and searching on different sites.
Hope you take it positively.
Oh thanks for the additional advice. Yeah I'll follow you,actually It took me to 3 days to soleve this problem. I cant find any documents on the net regarding this problem. And I remembered that I of my friend gave this site to me. So i tried to open a topic here. Great!!!