How to replace data value by progamming

Discussions about CSEntry
Post Reply
cort1991
Posts: 4
Joined: May 14th, 2013, 1:39 am

How to replace data value by progamming

Post by cort1991 »

Dear All,

This is to inform you that, I had entered household data (sample=5459). My Identification variables QDIST, QBLOCK, QAWC but unfortunately my operator entered wrong block code (N=2545) so I have to change that code by programming.

Please help me!

With kind regards,
Vasant
Manoj

Re: How to replace data value by progamming

Post by Manoj »

Hi
Create a batch application using the same data entry dictionary and write in the postproc of QBlock

Proc QBlock
If $=2545 then
$= value you want to replace with.
endif;


Run this batch application, and system will ask about input data file, give the path of it. Save output data file with different name, and you will see the changed value in output file.

Thanks
Manoj Soni
India
cort1991
Posts: 4
Joined: May 14th, 2013, 1:39 am

Re: How to replace data value by progamming

Post by cort1991 »

Manoj wrote:Hi
Create a batch application using the same data entry dictionary and write in the postproc of QBlock

Proc QBlock
If $=2545 then
$= value you want to replace with.
endif;


Run this batch application, and system will ask about input data file, give the path of it. Save output data file with different name, and you will see the changed value in output file.

Thanks
Manoj Soni
India
Thank you Mr. Manoj Soni
Post Reply