BookmarkSubscribeRSS Feed
thanikondharish
Calcite | Level 5

Please suggest me how to learn different methods based on 'do until' loop and provide pdf if any file available

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

The SAS Documentation on the DO UNTIL Statement is a nice place to start 🙂

 

Otherwise, a simple Google search for "SAS Do Until Example" will get you far.

VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

@thanikondharish

Here are some results from doing a simple search on do until.  Do you know how to search?  

 

DO UNTIL Statements :: SAS/IML 14.3 User's Guide
DO UNTIL Statements :: SAS/IML 14.3 User's Guide Programming Statements DO UNTIL Statements The general form of the DO UNTIL statement is as follows: DO UNTIL ...
https://documentation.sas.com/?docsetId=imlug&docsetVersion=14.3&docsetTarget=imlug_programstatemen...
DO UNTIL Statements :: SAS/IML 14.2 User's Guide
DO UNTIL Statements :: SAS/IML 14.2 User's Guide Programming Statements DO UNTIL Statements The general form of the DO UNTIL statement is as follows: DO UNTIL ...
https://documentation.sas.com/?docsetId=imlug&docsetVersion=14.2&docsetTarget=imlug_programstatemen...
%DO %UNTIL Statement :: SAS® 9.4 Macro Language: Reference, Fifth Edition
%DO %UNTIL Statement :: SAS® 9.4 Macro Language: Reference, Fifth Edition %DO %UNTIL Statement Executes a section of a macro repetitively until a condition is ...
https://documentation.sas.com/?docsetId=mcrolref&docsetVersion=9.4&docsetTarget=p1838snxda3yvhn1o0j...
DO UNTIL STATEMENT
Please explain how the do until loop as shown in the picture iterates to give the output as show in the other picture. ...
https://communities.sas.com/t5/SAS-Studio/DO-UNTIL-STATEMENT/td-p/384075
do until() issue
character, it turned out not hard to do, as I am going to show you below. However, what I thought would-be equavalent expression seems not equavale... ...
https://communities.sas.com/t5/SAS-Programming/do-until-issue/td-p/50510
Do Until Loop
I have an issue that I think might work best with a do until loop. I have patient data for multiple hospital admissions and I want to keep all the records up ...
https://communities.sas.com/t5/SAS-Programming/Do-Until-Loop/td-p/216084
Do Until/ Do While
should be like this: ID sales A 2 A 3 A . B 1 B . B 2 B 4 C 1 C 2 i have used do while but the output is a bit different: data sales1;    ... ...
https://communities.sas.com/t5/SAS-Programming/Do-Until-Do-While/td-p/127902
%do %until vs %do %while
I know %do %until checks the loop exit condition at the bottop of loop while %do %while checks at the top of loop. Can %do %until be replaced by %do %while in ...
https://communities.sas.com/t5/SAS-Programming/do-until-vs-do-while/td-p/253054
Array with Do Until?
example below. I think and array with do until might work but I am not sure how to implement. Any suggestions?   Input Dataset:  subject    Non... ...
https://communities.sas.com/t5/SAS-Programming/Array-with-Do-Until/td-p/470066
advantage of DO UNTIL
What advantage can be made of DO UNTIL over DO WHILE  in programming because of the fact that DO UNTIL executes at least once? ...
https://communities.sas.com/t5/SAS-Programming/advantage-of-DO-UNTIL/td-p/257412

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 1364 views
  • 7 likes
  • 3 in conversation