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
 

 

Need to substring one to another that have diff structure

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
ajmalrahman
Warnings : 1

New User


Joined: 10 Jul 2006
Posts: 2

PostPosted: Wed Sep 13, 2006 5:44 pm    Post subject: Need to substring one to another that have diff structure
Reply with quote

I have two structures..I need to substring one to aonther..but the structure fields declarations are different.how to apss thsi
Back to top
View user's profile Send private message

karnatikalyan

New User


Joined: 08 Feb 2006
Posts: 5

PostPosted: Thu Sep 14, 2006 1:09 am    Post subject: Re: Need to substring one to another that have diff structur
Reply with quote

Hi,

Could you please Specify the the two strures and the requirement clearly?

Regards,
Srinivas Karnati.
Back to top
View user's profile Send private message
Murali krishna

New User


Joined: 17 Feb 2006
Posts: 9
Location: chennai

PostPosted: Tue Sep 19, 2006 4:35 pm    Post subject: Re: Need to substring one to another that have diff structur
Reply with quote

You can Very well use SUBSTR command to do that even though the strutures are different.
Back to top
View user's profile Send private message
sengupta_hirok

New User


Joined: 11 Aug 2006
Posts: 2
Location: Kolkata

PostPosted: Thu Nov 16, 2006 11:49 am    Post subject: TO substring one portion from another
Reply with quote

Hi ajmalrahman,

although, use of 'substr' inbuilt function is a solution to your problem, but that takes huge amount of mainframe cpu time..

u can use the concept of based pointers..it will be much more flexible..

regards.
Hirok sengupta
Calcutta, India
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts Query using SUBSTRING on a column of ... sasanka DB2 5 Mon Jul 04, 2016 1:01 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am
No new posts Substring be scanned via syncsort jammy_27 SYNCSORT 1 Thu Sep 24, 2015 8:50 pm
No new posts TWS controller under DB2 in tree stru... pietras65 IBM Tools 2 Tue Jul 21, 2015 3:30 pm


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