Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1775
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: 1047
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: 1868
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 a ps to member of a existing PDS Deepika Chikyala JCL & VSAM 10 Tue Sep 05, 2017 11:44 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us