Shouldn't the resource be defined between the Begin and End statements?
Can you read resource 100?