IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Formatting a output to required form using SAS/JCL


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
LOKESH DAIVAM

New User


Joined: 22 Jul 2015
Posts: 4
Location: INDIA

PostPosted: Thu Aug 13, 2015 12:14 pm
Reply with quote

Hi Team,

My current Output of a sas job :

Code:
BIT $ VALUES OF THE CYCLES 25 AND 26

Obs         CYCLE25    RECS

1       $400.00000     800


Obs         CYCLE26    RECS

1     $2,200.00000    2692


My required output :

Code:
BIT $ VALUES OF THE CYCLES 25 AND 26

CYCLE 25:    $400.00000
CYCLE 26:  $2,200.00000

How can i achieve the above result.Is it possible in sas to reformat the output like this?

Thanks in advance.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 13, 2015 4:16 pm
Reply with quote

Please use the code tags when posting code and data. I will do it for you this time but in future...
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 13, 2015 6:12 pm
Reply with quote

SAS can do many things -- look at PROC REPORT if you want to keep using a PROC. However, you would probably be better creating a single SAS data set with both values in it (named the same), then use a DATA step to PUT the data you want where you want. With a DATA step and PUT statements, you can literally control every byte of the entire page if you want.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
No new posts Need help on formatting a report DFSORT/ICETOOL 14
Search our Forums:

Back to Top