BookmarkSubscribeRSS Feed
Sivanandam
Calcite | Level 5
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..

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 653 views
  • 0 likes
  • 1 in conversation