Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Calling and updating SAS Macro variables in same data step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Yogesh Jaiswal

New User


Joined: 31 May 2015
Posts: 9
Location: India

PostPosted: Thu Oct 11, 2018 12:37 pm    Post subject: Calling and updating SAS Macro variables in same data step
Reply with quote

Hi,

I have a requirement in which I need to call a macro using parms and then based on value received from that macro I need to update variable value in other macro/subprogram. All this needs to be done in same Data step as all the logic needs to be applied for all the records based on values received from Macro variables.
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1618
Location: Oregon

PostPosted: Thu Oct 11, 2018 1:11 pm    Post subject:
Reply with quote

Show us your input data and expected output.
And then describe the requirement based on the data.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8723
Location: Welsh Wales

PostPosted: Mon Oct 15, 2018 11:46 am    Post subject:
Reply with quote

Using GLOBAL macro variables should do the job.
But more info is required.

Why the stated need to have everything done in a single data step ?
Sometimes this may not be possible;
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Introducing new step in set of jobs ravikumar15 CLIST & REXX 4 Wed Oct 17, 2018 2:22 am
No new posts how to use RDZ for converting cobol c... balajiChid CICS 1 Tue Oct 09, 2018 8:40 pm
No new posts Number of Packages required for stati... manojthokala7 DB2 4 Mon Sep 17, 2018 7:14 pm
No new posts Extra data in overlay field speermb DFSORT/ICETOOL 2 Thu Sep 13, 2018 6:04 pm
No new posts How to summarize data by grouping on ... santhosh5983 DFSORT/ICETOOL 6 Tue Sep 04, 2018 9:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us