retrieveVarFromInitializeCommandでdim,sdim,dimtypeに対応