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
-
mpjacobs
- Posts: 3
- Joined: Fri Nov 05, 2010 6:14 am
- Skillset: jcl, endevor, db2, cics, rexx
- Referer: iNTERNET
-
NicC
- 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
-
mpjacobs
- 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 . . .
-
mpjacobs
- 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
-
-
FTP PDS members into desktop
by kalyani krishna » Tue Feb 28, 2023 10:47 pm » in Interview Questions - 1
- 8296
-
by dneufarth
View the latest post
Wed Mar 01, 2023 5:28 am
-
-
- 3
- 2738
-
by jcdm
View the latest post
Fri Sep 15, 2023 2:27 am
-
-
Merging PDS members into single sequential file.
by jcbrotel » Thu Aug 18, 2022 7:27 pm » in IBM Cobol - 4
- 4192
-
by prino
View the latest post
Fri Aug 19, 2022 11:20 pm
-
-
-
Librarian - how to send a listing of members to a dataset
by MLK2348 » Tue Feb 27, 2024 8:21 pm » in All Other Tools - 4
- 5326
-
by enrico-sorichetti
View the latest post
Thu Feb 29, 2024 7:16 pm
-
-
-
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
- 4510
-
by futohomok
View the latest post
Thu Aug 03, 2023 1:21 pm
-