If your AS/400 is named "MYAS400", you will have to type
NET USE \\QMYAS400 *p*a*s*s*w*o*r*d* /USER:QMYAS400\MyUserIdOnMYAS400
Do not forget the "Q" in front of "MYAS400"