You will have to start pig first and then run these commands:
pig -x mapreduce
hadoop fs -copyFromLocal patent2PIG /user/edureka_558472
patcnt = LOAD "patent2PIG " USING PigStorage(",") AS (pat:chararray,subpat:chararray);
// Mention some delimiter inside the PigStorage() function in this
//Also keep a habit of using proper folder names as patent2.data seems like an file name with its format as .data.