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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2009 views
  • 0 likes
  • 5 in conversation