Hi all
I need to convert from IBM FileManager to Compuware FileAid (or SORT , or something other than FileManager)
I have a IBM FileManager step with this code
//SYSIN DD *
$$FILEM DSC INPUT=INDD,
$$FILEM OUTPUT=OUTDD,
$$FILEM MEMBER=DT*,NLRECS=12
which copies the 1st 12 records from an input PDS, from only members DT*, to an output sequential file.
I tried this with FileAid
//SYSIN DD *
$$DD01 COPYALL IN=12,MEMBERS=DT
but it only processes the FIRST member (yes there are >1 where member name is DTsomething)
Any help/advice is appreciated
Thanks
MJ
How to Copy selected records from Selected PDS members
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: How to Copy selected records from Selected PDS members
Moved as you are wanting File-Aid help and not JCL help. If you do not know the difference between JCL and utility control cards then I suggest you find out the difference.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Posts: 3
- Joined: Fri Nov 05, 2010 6:14 am
- Skillset: jcl, endevor, db2, cics, rexx
- Referer: iNTERNET
Re: How to Copy selected records from Selected PDS members
oops, sorry, thanks ; didn't see the FileAid section . . .
-
- Posts: 3
- Joined: Fri Nov 05, 2010 6:14 am
- Skillset: jcl, endevor, db2, cics, rexx
- Referer: iNTERNET
Re: How to Copy selected records from Selected PDS members
solution found
FileAid = NO GO.
3-step soln :-
1- FileAid to Copy selected members
2 - IEBPTPCH (never really aniticpated seeing that again !) to print 1st 12 records of all members
3 - SORT - remove member header records from output created by IEBPTPCH
thx
MJ
FileAid = NO GO.
3-step soln :-
1- FileAid to Copy selected members
2 - IEBPTPCH (never really aniticpated seeing that again !) to print 1st 12 records of all members
3 - SORT - remove member header records from output created by IEBPTPCH
thx
MJ
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 1576
-
by sergeyken
View the latest post
Thu May 13, 2021 1:07 am
-
- 4
- 6147
-
by steve-myers
View the latest post
Sat May 15, 2021 1:58 am
-
- 2
- 2337
-
by steve-myers
View the latest post
Sat Nov 14, 2020 6:17 am
-
-
FTP PDS members into desktop
by kalyani krishna » Tue Feb 28, 2023 10:47 pm » in Interview Questions - 1
- 1982
-
by dneufarth
View the latest post
Wed Mar 01, 2023 5:28 am
-
-
- 3
- 1243
-
by jcdm
View the latest post
Fri Sep 15, 2023 2:27 am