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

copying from ps to pds


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Aug 08, 2005 6:23 pm
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
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: 463

PostPosted: Tue Aug 09, 2005 10:16 am
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Copying GDG version(all/few) from pro... CLIST & REXX 13
No new posts Copying large number of datasets to m... JCL & VSAM 17
No new posts Copying data from prev record using SORT SYNCSORT 19
No new posts Copying Db2 BSDS and logs to another ... JCL & VSAM 11
Search our Forums:

Back to Top