Help using Base SAS procedures

To copy the date from one PDS to another and rename should be happened

Reply
Contributor
Posts: 38

To copy the date from one PDS to another and rename should be happened

Hi ,

In a PS file i have two fields Newid and modelid as below .The below modelid name are member name of a PDS 'xxx'

New ID Model ID
SRGM2001 SRGM2565
SRGM2009 SRGM2877
SRGM2596 SRGM6394

My requirement is to copy the content of Modelid from the PDS 'xxx'
to same PDS member but with the name of new id.Where the member name s mentioned in the PS file should be copied one by one.

Example:

The member name ofthe pds is take fron the PS file(SRGM2565) needs to copied to the same PDS with the member name(SRG2001)
Similarly i need to do one by one automatically for all the records in the PS file.

I tried in PROC PDS copy and change statement but each time i need to give the member name manualy I cant fetch from the PS file .
Could you please help me to resolve this..
Ask a Question
Discussion stats
  • 0 replies
  • 136 views
  • 0 likes
  • 1 in conversation