On 2013-04-20, at 03:02, R.S. wrote: > W dniu 2013-04-20 02:49, Graham Hobbs pisze: >> Hello, In a JCL stream there are several F,B output files I'd like to >> put into a single PDS. Each file has a different LRECL? If I allocate >> the PDS with LRECL => the longest file's LRECL, can I do this? Am >> guessing this isn't a smart question:-) but then am not a sysprog. I >> know, I can try it, am just thinking ahead. Thanks Graham Hobbs > > BTDT. > FOr PDSE you'll get an error, for PDS your file may be (will be) corrupted. > For DISP=NEW, he should have no problem. But RECFM=VB seems to be the rational choice if the record lengths are, well, variable.
He needs to choose a suitable copy utility. I've had good success using REPRO when input and output attributes differ. Does PDSE give an error even on an attempt to change RECFM=VB to a longer LRECL? That can be done with a PDS with no corruption. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
