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 from ps to pds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
induajayrose
Warnings : 2

New User


Joined: 25 Jul 2005
Posts: 28
Location: Thrissur

PostPosted: Mon Aug 08, 2005 5:51 pm    Post subject: copying from ps to pds
Reply with quote

hai,
these question were asked to me in ibm interview
1.when we copy one pds to ps what will happen?ie whether the data in one member of pds will copy to ps or data in whole members will be copied to ps.
2.while executing a particular step i got return codes 1...1000,1001,1004.then i have to execute next step only if the return codes 1001 or 1004.how can i code this?
3.Can i mention fileaid as a utility?
4.which type of file system is db2.they gave 4 options.i think dey were sequential,vsam and so on.
pis giv me reply immediately,since i have an intrvw next week also.
thanks in advance,
indu
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Aug 08, 2005 6:23 pm    Post subject: Re: copying from ps to pds
Reply with quote

Hi Indu,
Quote:
1.when we copy one pds to ps what will happen?ie whether the data in one member of pds will copy to ps or data in whole members will be copied to ps.

How are you doing that...
Quote:
2.while executing a particular step i got return codes 1...1000,1001,1004.then i have to execute next step only if the return codes 1001 or 1004.how can i code this?

You can give an IF cond there to check RC from any perticular step.

Like... IF (STEPX.RC=1001 OR STEPX.RC=1004)....
Quote:
3.Can i mention fileaid as a utility?

icon_question.gif .... It is I think....
Quote:
4.which type of file system is db2.they gave 4 options.i think dey were sequential,vsam and so on.

VSAM...In the refernce of question here...
Quote:
pis giv me reply immediately,since i have an intrvw next week also.

All the best....

Regards,

Priyesh.
Back to top
View user's profile Send private message
induajayrose
Warnings : 2

New User


Joined: 25 Jul 2005
Posts: 28
Location: Thrissur

PostPosted: Mon Aug 08, 2005 6:57 pm    Post subject: abt copying
Reply with quote

hai,
1.when we copy one pds to ps what will happen?ie whether the data in one member of pds will copy to ps or data in whole members will be copied to ps.

here we shld use IEBCOPY utility.But i dnt knw what will happen.whether whole wil b copied or only first member will b copied
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Aug 09, 2005 10:16 am    Post subject: Re: copying from ps to pds
Reply with quote

Hi,
When u r copying data from one PDS to PS you have to mention the Member name and it will copy only that menber in that PS.

Please correct me if I m wrong.

Regards
Rupesh
Back to top
View user's profile Send private message
rssomm

New User


Joined: 05 Jun 2005
Posts: 41
Location: Hyderabad

PostPosted: Tue Aug 09, 2005 3:48 pm    Post subject:
Reply with quote

DB2 will use VSAM linear Datasets(LDS).


Madhu
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Tue Aug 09, 2005 4:16 pm    Post subject: Re: copying from ps to pds
Reply with quote

I remember sometimes back,

one PDS got accidentally deleted from the system. When we tried to recover it with the back up version (0) using Hrecover, we got a PS which contains appended members. We did cut-copy-paste to recreate the members. So I strongly feel, if there is any utility which wud copy PDS to PS (without mentioning the member), it will append all members in the PS. Correct me if I am wrong.

Certainly File-Aid is one utility a product of COMPUWARE.
Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Thu Aug 11, 2005 5:32 pm    Post subject: LDS
Reply with quote

which type of file system is db2.they gave 4 options.i think dey were sequential,vsam and so on.?

LDS IS THE ANSWER
Back to top
View user's profile Send private message
tom_mat

New User


Joined: 13 Jul 2005
Posts: 11

PostPosted: Fri Aug 12, 2005 2:42 pm    Post subject: Re: copying from ps to pds
Reply with quote

To copy all the members in a PDS to PS, try this utility, IEBPTPCH
icon_wink.gif

thanks!
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 -> Mainframe Interview Questions 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 Copying Panvalet members to PDS LOGESHWARAN K CA Products 4 Mon Mar 06, 2017 10:45 am
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 Issue with copying PDS members to ano... Senthilkumar k CLIST & REXX 13 Mon Apr 20, 2015 1:28 pm


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