Writecase roster main dcf to external dcf roster

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Writecase roster main dcf to external dcf roster

Post by htuser »

Dear all,
I've a roster with 10 lines and i'm trying to copy it to an external file using external dictionary and writecase.
j=curocc();
if $(j)="99" then
clear (RAPPORT_EXT_RCMP);
do varying j= 1 while j <=QAD_1 (where QAD_1= the maximum occurence)
NUMERO_EXT(j)=NUMERO(j);
Q_51_A_EXT(j)=Q_51_A(j);
Q_51_EXT(j)=Q_51(j);
Q_51_1_1_EXT(j)=getlabel (Q_51_1_1(j));
Q51_2_EXT(j)=getlabel (Q51_2(j));
Q_51_3EXT(j)=getlabel(Q_51_3(j));
enddo;
writecase (RAPPORT_EXT_RCMP);
endif;
Unfortunately, it display ERROR: ENDDO expected near line xx.
Thanks in advance for help!
G.VOLNY, a CSProuser from Haiti, since 2004
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Writecase roster main dcf to external dcf roster

Post by josh »

Maybe this part is supposed to be a comment but is missing the "//"?

(where QAD_1= the maximum occurence)
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Writecase roster main dcf to external dcf roster

Post by htuser »

Hi Josh,
I think no since it's not commented in Cspro designer. I will send to you this small example soon.
Best regards,
G.VOLNY, a CSProuser from Haiti, since 2004
Post Reply