Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: INVALID FIELD OR CONSTANT IN SORTOF ??

$
0
0
Author: Ron Klop
Subject: INVALID FIELD OR CONSTANT IN SORTOF ??
Posted: Wed Jan 11, 2017 3:44 pm (GMT 5.5)

Hai

I have two inputfiles of 664 positions long. And four outputfiles of 664 positions.
When I ran my job with the coding beneath, it crashes saying:

ICE221A 1 INVALID FIELD OR CONSTANT IN SORTOF04 IFTHEN 0 CONDITION 1
ICE751I 0 C5-I37056 C6-I35396 C7-I35396 C8-I35396 E9-I35396 E7-I37056


JOINKEYS FILE=F1,FIELDS=(2,9,A,61,10,A,74,3,A)
JOINKEYS FILE=F2,FIELDS=(2,9,A,61,10,A,74,3,A)
JOIN UNPAIRED,F1,F2
REFORMAT FIELDS(F1:1,664,F2:1,664),FILL=X'FF'
SORT FIELDS=COPY
OUTFIL FILES=03,INCLUDE=(665,1,CH,EQ,X'FF'),BUILD=(1,664)
OUTFIL FILES=02,INCLUDE=(1,1,CH,EQ,X'FF'),BUILD=(665,664)
OUTFIL FILES=04,INCLUDE=(1,664,CH,EQ,665,664,CH),
BUILD=(1,664)
OUTFIL FILES=01,SAVE,BUILD=(665,664)

Previously I ran the same coding with two files of 130 positions and that ran fine. Foor this job ofcourse 664 was changed in 130 and 665 in 131.

Does anyone know why it goes wrong now??

Thnx very much


Viewing all articles
Browse latest Browse all 8500

Trending Articles