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

String function in COBOL


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

New User


Joined: 09 Nov 2006
Posts: 21

PostPosted: Tue Feb 19, 2008 5:44 pm
Reply with quote

HI,

I have a record w-write-rec(150 bytes length) with content as below

aksjon=xxxx,aksjon=xxxxxxx,aksjon=xxxx,

rest of the bytes are spaces..

i need to string this record as below

string w-write-rec 'xxxx' 'yyy'.... etc delimited by ????

if i use spaces to delimit only w-write-rec will be in the outputif i use any thing else then spaces will be in output as below

aksjon=xxxxxxxxx,aksjon=yyyyyyyy, xxxx,YYY
i do not need the spaces in between every thing should come sequentially.


can anybody help icon_smile.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 19, 2008 6:40 pm
Reply with quote

Confusion????
String or unstring??
A before and after sample would be very helpful......
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Tue Feb 19, 2008 7:04 pm
Reply with quote

Yup lot of confusion...

icon_question.gif
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 PARSE Syntax for not fix length word ... JCL & VSAM 7
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 Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top