Features: |
fileref in IN= argument |
Other features: |
DATA _NULL statement comparison of DATALINES and PUT statements to submit method request |
data _null_; file myinput; input; put _infile_ ''; datalines; <GetMetadataObjects> <Reposid>$METAREPOSITORY</Reposid> <Type>Column</Type> <Objects/> <Ns>SAS</Ns> <Flags>1</Flags> <Options/> </GetMetadataObjects> ;; run; proc metadata in=myinput out=myoutput; run;
data _null_; file myinput; put "<GetMetadataObjects"; put " <Reposid>$METAREPOSITORY</Reposid>"; put " <Type>Column</Type>"; put " <Objects/>"; put " <Ns>SAS</Ns>"; put " <Flags>1</Flags>"; put " <Options/>"; put "</GetMetadataObjects>"; run; proc metadata in=myinput out=myoutput; run;
data _null_; file myinput; put '<GetMetadataObjects>'; put '<Reposid>$METAREPOSITORY</Reposid>'; put '<Type>Column</Type>'; put '<Objects/>'; put '<NS>SAS</NS>'; put '<Flags>388</Flags>'; put '<Options>'; put '<XMLSelect search="*[Table/PhysicalTable[@Id=''A5BCTYE3.B4000004'']]"/>'; put '<Templates>'; put ' <Column ColumnName="" BeginPosition="" ColumnLength="" ColumnType="" '; put ' desc="" EndPosition="" IsDiscrete="" IsNullable="" MetadataCreated="" '; put ' MetadataUpdated="" Name="" SASColumnLength="" SASColumnName="" '; put ' SASColumnType="" SASExtendedLength="" SASFormat="" SASInformat="" '; put ' SASPrecision="" SASScale="">'; put ' <AccessControls/>'; put ' <Properties/>'; put ' <PropertySets/>'; put ' </Column>'; put ' <AccessControlEntry Id="" Name=""/> '; put ' <AccessControlTemplate Id="" Name="" Use=""/> '; put ' <Property UseValueOnly="" PropertyName="" Delimiter="" DefaultValue=""/>'; put ' <PropertySet PropertySetName="" SetRole=""/> '; put '</Templates>'; put '</Options>'; put '</GetMetadataObjects>'; run; proc metadata in=myinput out=myoutput; run;