Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
Posted: Wed Aug 04, 2004 11:34 am Post subject: S0C1 in FILEAID
I believe this is simple. Im trying to move some information in a short record from a VB file thru fileaid and it abends with S0C1. Do we have parms in fileaid similar to VLSHRT/VLSCMP which can help me get through this issue.
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
Posted: Wed Aug 04, 2004 11:54 am Post subject:
Kolusu,
This is all I get. However, If i change the i/p file to contain more than 27 chars, the job just goes thro fine
Code:
F I L E - A I D V8.7.1 04 - AUG - 2004 02.11.59 *CONTROL CARD LIST*
INSTALLATION 000656 RELEASE 10/19/00
PROGRAM AND ALL MATERIAL COPYRIGHT 1980,2000 BY COMPUWARE CORPORATION
1...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...8
DD01 DSN=SYS04217.T021126.RA000.E038439P.OLDFILE.H02 OPENED AS PS,
RECFM=VB,LRECL=155,BLKSIZE=3000,VOL=BAT738
DD01O DSN=SYS04217.T021126.RA000.E038439P.NEWFILE.H02 OPENED AS PS,
RECFM=VB,LRECL=155,BLKSIZE=3000,VOL=BAT7A0
$$DD01 COPY IF=(1,EQ,C'12345'),MOVE=(02,0,44) 0000010
The RDW (Record Descriptor Word) parameter controls the inclusion or exclusion of the RDW for variable-length record processing. RDW permits logical access to a variable-length record without accounting for the four-byte system RDW at the beginning of each record. The syntax of the RDW parameter is:
Code:
RDW=n
n: Value of 0, 1, 2, or 3, which are defined as:
0 (Default) Includes the RDW during record processing and displays it
on output.
1 Includes the RDW during record processing and does not display it on
output.
2 Does not include the RDW during record processing but displays it on
output.
3 Does not include the RDW during record processing and does not
display it on output.
Notes:
1. The RDW parameter must be coded before any IF, EDIT, REPL, or MOVE
parameters in the control card.
2. When the RDW is not displayed on output (RDW=1 or 3), and no output
records are created, the MOVE parameter output location should
reference location 5 first. The MOVE parameter may be used with the
DUMP, LIST, or PRINT printing functions to show only portions of a
record. Since no actual output record is created with the printing
functions, File-AID assumes that the first four bytes of the output
area are the RDW and does not print them.
The PADCHAR parameter specifies the value to use for padding. Specify this parameter only once per function. The PAD value initializes output areas when creating records using the MOVE parameter. The initialization is performed prior to the first record being read and only at that time.
Code:
Padding also occurs when:
o Record length decreases during EDIT or MOVE processing
o A record is copied to a larger fixed-length record
o Record length is updated and increased.
The syntax of the PADCHAR parameter is:
PADCHAR={C'c' }
{X'nn'}
C: The c may be any single character-data value.
X: The nn may be any valid two-digit hexadecimal-data value.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum