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

How do we create tab delimited report in cobol


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pratikb83

New User


Joined: 30 Mar 2006
Posts: 2

PostPosted: Wed Oct 18, 2006 7:35 pm
Reply with quote

how do we create tab delimited report in cobol. what is the exact filler we have to give.
Back to top
View user's profile Send private message
meenal_mainframes
Warnings : 1

New User


Joined: 07 Jul 2006
Posts: 9
Location: USA

PostPosted: Thu Oct 19, 2006 9:51 am
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top