Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copying Panvalet members to PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Copying Panvalet members to PDS
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: 1771
Location: Bloomington, IL

PostPosted: Mon Mar 06, 2017 6:56 pm    Post subject:
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    Post subject:
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

Senior Member


Joined: 07 Feb 2009
Posts: 1028
Location: Oostende, Belgium

PostPosted: Tue Mar 14, 2017 3:11 pm    Post subject:
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: 1825
Location: UK

PostPosted: Tue Mar 14, 2017 3:47 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts Copying VSAM to VSAM with variable re... mfuser.84 DFSORT/ICETOOL 1 Mon Oct 12, 2015 5:00 pm
No new posts JCL to replace string in all PDS members bhamarekm All Other Mainframe Topics 8 Thu May 28, 2015 8:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us