View previous topic :: View next topic
|
Author |
Message |
d_mural
New User
Joined: 11 Jun 2005 Posts: 1
|
|
|
|
I am running a batch program, where the a variable file is written. For the first five records the record layout i.e., the declaration in the FD section becomes empty when executing the write statement and the record is written. After the 5 record it is writing properly. Any has any idea of what could be the problem is? |
|
Back to top |
|
|
pkmainframe
New User
Joined: 14 Jun 2005 Posts: 16 Location: India
|
|
|
|
I guess this is because of the VB, while in VB the 1st 4 bytes for the record descriptor, you must start reading the input file after declaring the variable with comp of 4 bytes to avoid try this it may work, if it doesn't send more details of the record structure. |
|
Back to top |
|
|
arunoday
New User
Joined: 17 May 2005 Posts: 18 Location: Bangalore
|
|
|
|
Hi PK,
I couldnot make out the VB. What is that ?
Thanks |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi D,
You'll have to show us the actual FD; the moves to/from the rec description; the read/write stmts.
Also the DD stmts from the JCL especially the DCB info. |
|
Back to top |
|
|
|