View previous topic :: View next topic
|
Author |
Message |
raman.k
New User
Joined: 26 Feb 2007 Posts: 24 Location: chennai
|
|
|
|
I wrote the JCL like following code
Code: |
//SORTIN DD DSN=aaa.PS.COBOL,DISP=SHR
//SORTOUT DD DSN=aaaa.PS.SSTO,DISP=(,CATLG,DELETE),
// SPACE=(TRK,(10,2)),UNIT=DISK
//SYSIN DD *
SORT FIELDS=(1,8,CH,A)
SUM FIELDS=(10,3,BI)
/*
//
|
it shown the, see below
Code: |
PRODUCT LICENSED FOR CPU SERIAL NUMBER 2E0EC, MODEL 2094 710 LICE
SYSIN :
SORT FIELDS=(1,8,CH,A)
SUM FIELDS=(10,3,BI)
WER276B SYSDIAG= 578241, 831361, 831361, 1673320
WER164B 23,420K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1,004K BYTES USED
WER146B 20K BYTES OF EMERGENCY SPACE ALLOCATED
WER213A ILLEGAL SUM DATA FIELD
WER108I SORTIN : RECFM=VB ; LRECL= 4092; BLKSIZE= 4096
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
WER213A ILLEGAL SUM DATA FIELD |
What does the manual say about message id WER213A |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Raman,
From the post messages, I could see your IP file is a VB. Your sort card should look like -
Code: |
SORT FIELDS=(5,8,CH,A)
SUM FIELDS=(14,3,BI) |
|
|
Back to top |
|
|
raman.k
New User
Joined: 26 Feb 2007 Posts: 24 Location: chennai
|
|
|
|
Murali
sort card the stated position is 1st and ending position is 8 then i gave one space. so the sum filed stated from 10th position. upto three charaters |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Raman,
Your original sort card is suitable for FB file. For VB, you need to add 4 to get the position. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Raman,
First 4 bytes for RDW.
Sorry I didn't put this in my earlier post. |
|
Back to top |
|
|
galecra
New User
Joined: 11 Sep 2006 Posts: 33
|
|
|
|
BI fields have to be 2,4 or 8 bytes long when using SUM |
|
Back to top |
|
|
|