You are correct, I apologize for my second mistake in a row.
I seem to chime in before taking the time to have my facts straight. I
work on that. I once had a problem trying to write to a file that had
been allocated with IEFBR14 because the JOB step used BLKSIZE=0.
Removing BLKSIZE from the allocation step fixed the problem. Now I
normally do not use BLKSIZE at all.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Gilmartin
Sent: Thursday, August 07, 2008 5:46 PM
To: [email protected]
Subject: Re: Converting / Copying a dataset from RECFM=UA to RECFM=FB

On Thu, 7 Aug 2008 13:28:47 -0700, HUTCHISON Gregory wrote:
>
>BR14 does need a block size when generating an empty file.
>
???

o First, IEFBR14 (I assume that's what you meant) doesn't
  generate any file.  It does no I/O.  It issues no SVC.
  This has been much discussed on this list.

o Then, whatever creates the file (I assume it's allocation)
  does _not_ need a block size, as in the following job
  step:

//STEP     EXEC  PGM=IEFBR14
//D        DD    DISP=(,CATLG),UNIT=SYSALLDA,SPACE=(CYL,1),
//  RECFM=FB,LRECL=80,
//  DSN=&SYSUID..TEMP.EMPTY

... which leaves visible in Data Set Info:

                             Data Set Information

Data Set Name . . . . : user.TEMP.EMPTY

General Data                           Current Allocation
 Management class . . : **None**        Allocated cylinders : 1
 Storage class  . . . : **None**        Allocated extents . : 1
  Volume serial . . . : TSO017
  Device type . . . . : 3390
 Data class . . . . . : **None**       Current Utilization
  Organization  . . . : NONE            Used cylinders  . . : 0
  Record format . . . : FB              Used extents  . . . : 0
  Record length . . . : 80
  Block size  . . . . : 0
  1st extent cylinders: 1
  Secondary cylinders : 0
  Data set name type  :

  Creation date . . . : 2008/08/07      Referenced date . . : ***None***
  Expiration date . . : ***None***

worked fine with no block size given.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to