I want to read from the 11th charecter of input file
the input file contains &FILENAME=AE12334P.123, i want to read from AE
Selective copy
-
- Posts: 35
- Joined: Wed Oct 08, 2008 11:39 am
- Skillset: cobol, dn2, jcl, adabas, roscoe
- Referer: FRIEND
- Frank Yaeger
- Global moderator
- Posts: 1079
- Joined: Sat Jun 09, 2007 8:44 pm
- Skillset: DFSORT, ICETOOL, ICEGENER
- Referer: Search
- Contact:
Re: to copy using iceman
If you want to keep only specific columns from each record, you can do that with DFSORT's INREC, OUTREC or OUTFIL statement. For example, if your input file has RECFM=FB and LRECL=80, and you want to keep only columns 11-80, you can use these DFSORT statements:
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
http://www.ibm.com/servers/storage/supp ... tmpub.html
Code: Select all
OPTION COPY
INREC BUILD=(11,70)
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
http://www.ibm.com/servers/storage/supp ... tmpub.html
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
-
- Posts: 35
- Joined: Wed Oct 08, 2008 11:39 am
- Skillset: cobol, dn2, jcl, adabas, roscoe
- Referer: FRIEND
Re: to copy using iceman
tx very much..
-
- Similar Topics
- Replies
- Views
- Last post
-
- 12
- 3981
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm
-
- 4
- 6368
-
by steve-myers
View the latest post
Sat May 15, 2021 1:58 am
-
-
How can I copy message queue files (LGMSG,SHMSG) in V9R1
by futohomok » Thu Jul 27, 2023 5:54 pm » in IMS DB/DC - 6
- 2152
-
by futohomok
View the latest post
Thu Aug 03, 2023 1:21 pm
-
-
-
Copy partial record after a string in a record using SORT.
by Esmayeelhusen » Thu May 04, 2023 3:03 pm » in DFSORT/ICETOOL/ICEGENER - 16
- 4368
-
by Esmayeelhusen
View the latest post
Mon May 22, 2023 3:50 pm
-