Prepare for your Next Interview
This is a discussion on Copying records in SORT or ICETOOL within the MainFrame forums, part of the Software Development category; Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly ...
|
|||
|
Copying records in SORT or ICETOOL
Hi,
My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities? |
| Sponsored Links |
|
|||
|
Re: Copying records in SORT or ICETOOL
You can use the selcopy tool which is apt for writing files, modifying data after checking for position based conditons.The SELCOPY statements can be coded in the SYSIN
for eg //infile dd dsn=...... .data, disp=shr //outfile dd dsn.... .data, disp =shr //sysin dd * read infile if pos 30 eq 'M' or pos 32 eq 'N' then mod pos 30 00 then mod pos 32 AA write file=outfile |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copying from one GDG base to other | farhana | MainFrame | 4 | 10-16-2008 08:00 AM |
| How to sort two records between two dates without using between | Geek_Guest | SQL | 4 | 12-14-2007 05:15 AM |
| how can i sort numbers in an array with out Arrays.sort()? | ramakris143 | Java | 0 | 11-14-2007 09:52 AM |
| about copying bookmarks.... | psuresh1982 | Web Design | 0 | 07-09-2007 08:54 AM |
| I want to sort out 200 to 300 records | Geek_Guest | Career Advice | 0 | 06-10-2007 06:18 AM |