Use the Pig View to:
Write Pig scripts
Execute Pig scripts
Add user-defined functions (UDFs) to Pig scripts
View the history of all Pig scripts run by the current user