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

Panvalet - 9 Character name - Issue copying to PDS


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

New User


Joined: 11 Nov 2019
Posts: 9
Location: USA

PostPosted: Fri Nov 18, 2022 6:40 pm
Reply with quote

All,

I have a bit of a dilemma.
I am new to Panvalet and the SME has left the company. We are in the midst of seeking a new SME and until then, I'm all we have.

To say I'm new would be a stretch. I know just enough to get me in trouble. Having said that, here is my issue.

I have 25K members in Panvalet that need to be copied to a PDS on the mainframe, then sent down to a MS Server.

The members are all COBOL, COPYBOOKS and the like.

The issue is that the first 8 characters of the linked members are the same and the 9th is the distinct.

What I mean is the COBOL program is named PGMNAME1 and the Copybook is named PGMNAME1C and the Include is named PGMNAME1I and the DB2 Includes are name PGMNAME1D and so forth.

When I submit the copy JCL, it only takes a single member and shoots out a message, That the "PGMNAME1" has already been copied.

Looking at the Documentation it clearly states that ONLY the first 8 characters will be used to copy to a PDS.

Is there a way around this and allow me to copy all the members?

Regards,
-Ron
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1176
Location: Dublin, Ireland

PostPosted: Mon Nov 21, 2022 1:32 pm
Reply with quote

I faced this issue some years back. My approach was taken on a project-by-project basis where, for each project, I identified a character position from the first 8 that could be dropped and then generated control cards to copy from the 9-character Panvalet name to an 8-character PDS(e) name.

Garry.
Back to top
View user's profile Send private message
NJDevils28

New User


Joined: 11 Nov 2019
Posts: 9
Location: USA

PostPosted: Tue Nov 22, 2022 12:42 am
Reply with quote

Garry Carroll wrote:
I faced this issue some years back. My approach was taken on a project-by-project basis where, for each project, I identified a character position from the first 8 that could be dropped and then generated control cards to copy from the 9-character Panvalet name to an 8-character PDS(e) name.

Garry.


That sounds like a valid approach. I like it. I am no panvalet expert. Not even a newbie.

You would not be able to provide a sample JCL with the control cards, would you?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10838
Location: italy

PostPosted: Tue Nov 22, 2022 1:01 am
Reply with quote

why not build TWO pds'es

a <source> with the programs
where the names are left asis

a <include> with the copybooks
where the destination names are truncated at the last char

( the name mangling can be done using the sort product installed )
Back to top
View user's profile Send private message
NJDevils28

New User


Joined: 11 Nov 2019
Posts: 9
Location: USA

PostPosted: Tue Nov 22, 2022 3:14 am
Reply with quote

enrico-sorichetti wrote:
why not build TWO pds'es

a <source> with the programs
where the names are left asis

a <include> with the copybooks
where the destination names are truncated at the last char

( the name mangling can be done using the sort product installed )


All the members are in the same PANVALET library and when I execute the JCL it copies the first one, then error's out on the next one. I'm sure there is a way to do this with Control Cards as PANVALET uses them, I just don't know PANVALET.
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1176
Location: Dublin, Ireland

PostPosted: Tue Nov 22, 2022 1:39 pm
Reply with quote

I'm afraid I don't have the jobs I used for this ( I think it was back in 2006-7). IFIRC, I unloaded the members using the shop's change management software and used the memberlist to generate control cards using DFSORT.

enrico-sorichetti wrote:
why not build TWO pds'es

a <source> with the programs
where the names are left asis

a <include> with the copybooks
where the destination names are truncated at the last char

( the name mangling can be done using the sort product installed )


I don't think this would work as the first 8 characters of the copybook names are the same. You would end up with 'C', 'I' and 'D' copybooks with the same name which will also give you 'already copied' results.

Having a separate PDS for each copybook type might work if you modify the Cobol code to specify IN which library the copybook is to be found rather than default SYSLIB. However, this does involve source changes which could be achieved using the SORT product. There would be source changes anyway since the copybook names will have changed to 8 characters. Would this approach work for any languages other then Cobol?

Garry
Back to top
View user's profile Send private message
NJDevils28

New User


Joined: 11 Nov 2019
Posts: 9
Location: USA

PostPosted: Tue Nov 22, 2022 6:09 pm
Reply with quote

Thank you for all the help Gary! I'll try and Google my way through this.

-Ron


Garry Carroll wrote:
I'm afraid I don't have the jobs I used for this ( I think it was back in 2006-7). IFIRC, I unloaded the members using the shop's change management software and used the memberlist to generate control cards using DFSORT.

enrico-sorichetti wrote:
why not build TWO pds'es

a <source> with the programs
where the names are left asis

a <include> with the copybooks
where the destination names are truncated at the last char

( the name mangling can be done using the sort product installed )


I don't think this would work as the first 8 characters of the copybook names are the same. You would end up with 'C', 'I' and 'D' copybooks with the same name which will also give you 'already copied' results.

Having a separate PDS for each copybook type might work if you modify the Cobol code to specify IN which library the copybook is to be found rather than default SYSLIB. However, this does involve source changes which could be achieved using the SORT product. There would be source changes anyway since the copybook names will have changed to 8 characters. Would this approach work for any languages other then Cobol?

Garry
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 Facing ABM3 issue! CICS 3
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
No new posts String has hex character need to conv... COBOL Programming 3
No new posts how to solve this power failure shutd... ABENDS & Debugging 5
Search our Forums:

Back to Top