I am creating a batch spufi jcl. The job runs fine (RC 0) but there is an issue with the dataset created in the job.
I am trying to create a FB sequential dataset. But the problem is when the job runs the dataset is created with the same
parameters but is VBS Record format. And adding to this I am not able to view the contents of this dataset - I get a message
'Invalid Record Format'. Any idea why this is happening? Am I missing something here? Can I route the O/P records to SYSOUT?
Joined: 13 Dec 2005 Posts: 154 Location: The Netherlands
u can route your output to the spool just give
//DB2OUT DD SYSOUT=*
But the dd st. what u have given is absolutely fine, the error message what u got would be thrown if there is an issue with the BLKSIZE of the d/s, or please increase the lrecl of your output data set and try.