BookmarkSubscribeRSS Feed
AmitKB
Fluorite | Level 6


Hi all,

              I have 2 tables  with 5 columns each.  I want my first table to be printed at Row2 and Column A. The second table to be printed at Row 2 and column H.

What options should i use. A sample example will help.

              I appreciate all the help.

Regards,

Amit

6 REPLIES 6
Reeza
Super User

I don't believe Tagsets allows you that level of control.

Tom
Super User Tom
Super User

Combine your data into a single table and print that .

data one ;

  input a b c d e f g ;

  cards;

1 2 3 4 5 6 7

8 9 10 11 12 13 14

run;

data two ;

  input h i j ;

cards;

1 2 3

4 5 6

7 8 9

run;

data both;

  if not eof1 then set one end=eof1;

  if not eof2 then set two end=eof2;

  output;

  call missing(of _all_);

  if eof1 and eof2 then stop;

run;

proc print; run;

Iramesh
Calcite | Level 5

Hi Tom,

           Can u explain briefly working of that code. Your answer match with AmitKB question?

Regards

Ramesh

Deen
Obsidian | Level 7

Are you working on Unix SAS or on PC SAS?


Deen
Obsidian | Level 7

I am working on Unix SAS

Reeza
Super User
@Deen is this still a question for you? This is an old thread, you may want to post a new question now.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 6 replies
  • 1534 views
  • 0 likes
  • 5 in conversation