LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 9 Feb 2001 19:51:30 GMT
Reply-To:   Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Organization:   Ingenieurbuero Grueninger
Subject:   Re: SAS Questions

1. e.g. with proc report DATA test; INFILE CARDS; INPUT ccn @@; DO i=1 TO 100; OUTPUT; END; LABEL ccn="Credit Card No."; FORMAT ccn 8.; CARDS; 221 566 234 788 456 930 ; RUN;

ODS LISTING; PROC REPORT NOWD LS=80 PANEL=8 SPACING=2; COLUMN ccn; DEFINE ccn / DISPLAY; RUN;

3. Look in the help for "zoned decimal data". You have to use the ZDw.d format.

"Giulio Belrango" <giuliobelrango@home.com> wrote:

>I'm working in a IBM OS/390 environment, and I need some help with a few >questions and situations. > >1) I would like to print a report like a credit card number, printing from >the top to bottom and left to right across the page. >i.e. >Credit Credit Credit >Card No. Card No. Card No. >221 566 >234 788 >456 930 > >3) In COBOL Fielda Pic S9(1). >When I >Move -1 to Fielda I get 'D9' >Move 0 to Fielda I get 'C0' >I can't seem to get the same results with my Put statement. >I used 'D9'x and 'C0'x to get arround this. >What format should I be using.

* --------------------------------- + ! Ingenieurbuero Grueninger ! ! Andreas Grueninger ! ! Uhlbergstr. 15 ! ! 72631 Aichtal (Germany) ! ! email: grueninger@ibgrueninger.de ! + --------------------------------- ;


Back to: Top of message | Previous page | Main SAS-L page