Hi,
I am using the below command to create a file in one of my focus programs.
DYNAM ALLOC FILE RLDB159A DA &FINFILE NEW CATLG
Once i create this file I will populate it with some data depending on some validations. And then send this file to some Windows system through Cyberfusion.
All this works fine if the file is not empty. IF the file is empty the record format of the file is not known and the Cyberfusion job fails to send the data stating that the Record format of the file is not valid.
Please find the attributes of the file created below.
General Data Current Allocation
Volume serial . . . : FOC00D Allocated cylinders : 20
Device type . . . . : 3390 Allocated extents . : 1
Organization . . . : PS
Record format . . . : ?
Record length . . . : 0
Block size . . . . : 0 Current Utilization
1st extent cylinders: 20 Used cylinders . . : 0
Secondary cylinders : 20 Used extents . . . : 0
Creation date . . . : 2006/02/02
Referenced date . . : 2006/02/14
Expiration date . . : ***None***
Can anyone please let me know what should be done in such scenario and how to mention the record format while creating a file in focus.
Thanks
Sandesh Gadgil