meenal_mainframes Warnings : 1 New User
Joined: 07 Jul 2006 Posts: 9 Location: USA
|
|
|
|
Hi ,
to create a tab delimeted report ....
pls try to understand the following example and let me know if have any questions:
this is an output file where u r processing some of input fields and writing in an o/p file
01 WS-OUTREC.
05 WS-EMP-NO PIC 9(09) VALUE 0.
05 FILLER PIC X(01) VALUE X'05'.
05 WS-SSN PIC 9(09) VALUE 0.
05 FILLER PIC X(01) VALUE X'05'.
05 WS-FIRST-NAME PIC X(30) VALUE SPACES.
05 FILLER PIC X(01) VALUE X'05'.
05 WS-MID-NAME PIC X(30) VALUE SPACES.
05 FILLER PIC X(01) VALUE X'05'.
05 WS-LAST-NAME PIC X(30) VALUE SPACES.
05 FILLER PIC X(01) VALUE X'05'.
x'05' is used for tab....
feel free for any clarifications.
Meenal |
|