error:-
$$DD01 COPY IF=(1,NE,C'HEADER,TRAILER'),
MOVE=(40,257,1)
1...5...10...15...20...25...3
INVALID LENGTH OR OPERATOR IN MOVE, CHECK DATA STARTING IN COLUMN 29
.....SKIPPING TO NEXT $$DD CARD RC=4
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Mon Jun 06, 2005 5:55 am Post subject:
Subbuy2k,
The max length of the data you can move using MOVE statement in file-aid is 256. Why not use 0 (zero) to tell File-AID to calculate the length, from the specified from-location in the input record, to the end of the input record, and to use the result as the length of the data to move.
Hi Kolusu,
i have also coded by splitting it into many 256 datas. Actually i have to move around 1150 bytes. since i am not able to move at a stretch i split into many 256.
1.Is there any way to move all the 1150 bytes at a time
2.is there any limit that we can move only 256 bytes at a time.
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Mon Jun 06, 2005 8:50 am Post subject:
Subbuy2k,
Quote:
1.Is there any way to move all the 1150 bytes at a time
Read my prior post carefully about using 0(zero) as an option to let file-aid calculate the length.
Quote:
2.is there any limit that we can move only 256 bytes at a time.
Once again if you have read my prior post carefully , you would have found that the max length of the data you can move using MOVE statement in file-aid is 256.
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