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

how to write comp-3 of an input file and write it readable


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishnakumarramaraj

New User


Joined: 15 Nov 2005
Posts: 15
Location: chennai

PostPosted: Fri Jan 25, 2008 11:34 am
Reply with quote

HI,
how to write comp-3 of an input file and write it in readable format in an output file.The I/P file layout is
01 WS-RECORD.
10 AP-PTD-VENDOR-NBR PIC X(9).
10 AP-PTD-INVOICE-DATE PIC S9(6) COMP-3.
10 AP-PTD-INVOICE-NBR PIC X(8).
10 AP-PTD-DISB-NET PIC S9(7)V99 COMP-3.
10 AP-PTD-CHECK-NBR PIC S9(7) COMP-3.
10 AP-PTD-CHECK-DATE PIC S9(6) COMP-3.
10 AP-PTD-DISB-VND-NAME PIC X(25).

is it posible to do in jcl sort or i have to go for cobol.please give me a solution.
Back to top
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Fri Jan 25, 2008 12:11 pm
Reply with quote

Krishna,

search in SORT forum for Outrec/Inrec with Edit/convert controls..

Thanks
Surya
Back to top
View user's profile Send private message
krishnakumarramaraj

New User


Joined: 15 Nov 2005
Posts: 15
Location: chennai

PostPosted: Fri Jan 25, 2008 5:06 pm
Reply with quote

Hi,
Thank you Murali & Surya for ur replys.I got it by searching in forum
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top