Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 1789
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: 1161
Location: Vilnius, Lithuania

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: 2246
Location: Hampshire, 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 Is possible to concatenate multiple P... Poha Eater DFSORT/ICETOOL 6 Fri Aug 02, 2019 1:21 pm
No new posts How to copy\replace the members in pr... abdulrafi JCL & VSAM 6 Fri Mar 22, 2019 7:02 pm
No new posts Copy members from Input PDS to Output... Poha Eater JCL & VSAM 9 Tue Jan 29, 2019 3:56 pm
No new posts Copying only first and last word from... chandan.inst SYNCSORT 4 Wed Jan 31, 2018 4:19 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm

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