Thanks for your response.
I have a query for you. Everytime I need to hardcode the path (highlighted in red color) while executing manually the pig commands. Do we have any provision or mechanism where the path can be set as a environment variable and call the variable instead of hard coding the path. In case if you have solution can you please send me the step by step process .
grunt> std_dtls = LOAD 'hdfs://localhost:8020/user/edureka/SourceFiles/Pig/student_details.txt' USING PigStorage(',') as (id:int,firstname:chararray,lastname:chararray,age:int,phoneno:long,place:chararray);
grunt> emp_dtls = LOAD 'hdfs://localhost:8020/user/edureka/SourceFiles/Pig/employee_details.txt' USING PigStorage(',') as (id:int,firstname:chararray,age:int,place:chararray);
grunt> std_emp_dtls_cogroup = COGROUP std_dtls by age,emp_dtls by age;
grunt> DUMP std_emp_dtls_cogroup