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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 1951 views
  • 0 likes
  • 5 in conversation