November 25, 2008, 01:31 PM
Raghuraman KStill it not working. i tried below code.
SET ALL=ON
JOIN CONCERN IN PWR TO CONCERN IN PWRSP AS J01
TABLE FILE PWR
PRINT HISTORY LEAD_MODEL MODEL_YEAR_ENG
CAUSAL_FACTOR_1 CAUSAL_FACTOR_2 CAUSAL_FACTOR_3
plant product
ON TABLE SAVE AS CONIN
END
But i have received the below error.
(FOC1070) VALUE FOR JOIN 'FROM' FIELD OUT OF SEQUENCE. RETRIEVAL ENDED
November 25, 2008, 01:35 PM
BlueZoneLike the error says ..... Files being JOIN'ed should be pre-sorted on the Join-field.
Please resort one/both of the file(s) on the CONCERN field to Hold files as applicable. Then execute the join on the Hold files.
Sandeep Mamidenna
November 25, 2008, 08:59 PM
Wazthe safest method to fix this issue is to table the PWRSP data and hold as a FOCUS format file indexing CONCERN, it will then give you what you want.
November 26, 2008, 03:27 AM
Raghuraman KYes Now it is working.
I have sorted both file and i have joined two file. Now it is working.
Thanks for all.