Importing program to RS

Hi guys

Just practicing some programming before I go for my training and have a few questions:

I have completed a simple program at the robot using a double sided tool and multiple work objects, I have used the line of code := for both but when loading into RS it comes up with a RAPID error, how can I import my work objects and tool data into RS?

And I’m trying to create a gripper mechanism I have set the links and joints but not sure about the tooldata, what position data do I use and where can i find the moment of inertia data?

I know its a bit long-winded but I would like to have a bit of knowledge behind me before the training

Thanks in advance