IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copying Panvalet members to PDS


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
LOGESHWARAN K

New User


Joined: 02 Mar 2017
Posts: 2
Location: India

PostPosted: Mon Mar 06, 2017 10:45 am
Reply with quote

Hi,
I want to copy all the panvalet members to pds. I wrote a JCL but I am facing this problem.

Consider 2 members having member name as ABC12345 & ABC12345Z.. In this case second member is overwritten by first member while copying since the PDS member name can be maximum 8 characters.

Is there any way to solve this problem ?

There are more members having name as first 8 characters same. So I cant rename every member manually. I want output like ABC12345 & ABC1234(Any special character).

Thanks,
Logeshwaran K
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Mar 06, 2017 6:56 pm
Reply with quote

The first step is to define a process where 10-character member names are converted to 8-character member names, including what happens if multiple long names would convert to the same short name.
Back to top
View user's profile Send private message
LOGESHWARAN K

New User


Joined: 02 Mar 2017
Posts: 2
Location: India

PostPosted: Tue Mar 14, 2017 11:39 am
Reply with quote

Hi,

Thanks for your reply...

I want JCL to rename the 10-character member name to 8-character member name while copying... I should not rename the 10-character member name in Panvalet.

Thanks & Regards,
Logeshwaran K
Back to top
View user's profile Send private message
prino
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1245
Location: Vilnius, Lithuania

PostPosted: Tue Mar 14, 2017 3:11 pm
Reply with quote

The first step is to define a process where 10-character member names are converted to 8-character member names, including what happens if multiple long names would convert to the same short name.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Mar 14, 2017 3:47 pm
Reply with quote

Here is some skeleton JCL to give you an idea...
Code:
//jobname JOB jobcard details...
//STEP EXEC PGM= your program to do the conversion
//INPUT DD DSN=your input data set,....
//OUTPUT DD DSN=your output data set,...
// any other DDnames required by your program
//

Of course, INPUT and OUTPUT DDnames should be replaced by whatever your program requires.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Copying large number of datasets to m... JCL & VSAM 17
No new posts Copying data from prev record using SORT SYNCSORT 19
No new posts Members search in PDS JCL & VSAM 9
No new posts Copying Db2 BSDS and logs to another ... JCL & VSAM 11
No new posts Fetch the Dataset names from inside m... TSO/ISPF 18
Search our Forums:

Back to Top