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
 

 

Untring a CSV File delimited by comma

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Fri Aug 19, 2005 7:28 pm    Post subject: Untring a CSV File delimited by comma
Reply with quote

Dear Friends


I
Quote:
have a input record.it is in comma separated format(CSV format).
i want to untring it delimited by comma.
Now the problem is i don't want all the value.

Can it be possible to untring and get specific values only?


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

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Aug 19, 2005 8:04 pm    Post subject: Re: unstring
Reply with quote

Chandra,

Your post here seems to be relatoed to the one going parallel for program logic.
Quote:
Now the problem is i don't want all the value.

Can it be possible to untring and get specific values only?


I m not sure about getting only specifc values...but let them come...Its up to you to use them or not....Isn't it....

Regards,

Priyesh.
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Fri Aug 19, 2005 8:33 pm    Post subject:
Reply with quote

Yes priyesh
i have done lby taking all .Still i think to get specific value.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Aug 20, 2005 10:08 pm    Post subject:
Reply with quote

Why don't you show us some of your data and what you want to unstring and what you don't? Maybe there's a solution, but you've got to be specific.
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Mon Aug 22, 2005 9:07 am    Post subject:
Reply with quote

Ok friends i am giving an Example


Quote:
01 record
05 ws-rq-id pic x
05 ws-b-id pic x
05 ws-al pic xxx
05 ws-a redefine ws-al
10 ws-z pic x
10 ws-y pic x
10 filler pic x
05 ws-b redefine ws-al
10 ws-m pic x
10 ws-n pic x
10 ws-h pic x


Now i want to unstring ws-a
in another step i want to unstring ws-b
It is a comma Separated file(CSV records)
Back to top
View user's profile Send private message
elonics

New User


Joined: 05 Jul 2005
Posts: 49
Location: India

PostPosted: Mon Aug 22, 2005 10:08 am    Post subject: Re: unstring
Reply with quote

Hi,
U can unstring ur unnecessary fields to dummy variables and the necessary fields to ur working variables. So that u can use ur working variables in the next process of ur task.


Elonics.
----------------------------------------------------------------------------------
I May the Best or atleast Better than many but i am never Worst
----------------------------------------------------------------------------------
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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