Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Conversion of dataset to text format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sureshgan

New User


Joined: 19 Jan 2006
Posts: 1

PostPosted: Thu Jan 19, 2006 9:42 am    Post subject: Conversion of dataset to text format
Reply with quote

i have a dataset having some 100 records and approximately 200 columns. i want to transfer the data to text format with a delimiter(say ~) in between each column so that I can make sense of the data.how can i do this?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 19, 2006 10:38 am    Post subject:
Reply with quote

If you can EDIT your dataset using ISPF editor, use edit commands (either in the editor itself or by edit-macro). For example: "C ALL ' ' '~' 15 15".

If the file is not editable, you can use a small REXX with the OVERLAY function.

O.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Jan 19, 2006 12:25 pm    Post subject: Re: Conversion of dataset to text format
Reply with quote

HI,

I also agree with ofer71, Or If you know the length of Column you can write a short program to eneter ~ in between cloumn.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
Paddy

New User


Joined: 12 Sep 2005
Posts: 46
Location: Paris France

PostPosted: Thu Jan 19, 2006 2:40 pm    Post subject:
Reply with quote

Hi all,

Another way directly with ISPF, if it's editable file, consists in to create a model line and to copy her with overlay argument like this

Code:

Command ===>,                                                ,Scroll ===>,CSR ,
******,***************************** Top of Data ******************************
C 0001,   ~    ~    ~      ~       ~       ~       ~       ~       ~
OO 002,001 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
000003,002 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
000004,003 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
000005,004 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
000006,005 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
000007,006 aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
OO 008,00X aaaa bbbb cccccc fffffff ggggggg rrrrrrr ttttttt mmmmmmm
******,**************************** Bottom of Data ****************************


Result :

Code:

Command ===>,                                                ,Scroll ===>,CSR ,
******,***************************** Top of Data ******************************
000001,   ~    ~    ~      ~       ~       ~       ~       ~       ~
000002,001~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000003,002~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000004,003~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000005,004~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000006,005~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000007,006~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
000008,00X~aaaa~bbbb~cccccc~fffffff~ggggggg~rrrrrrr~ttttttt~mmmmmmm~
******,**************************** Bottom of Data ****************************



Regards.

Paddy icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us