View previous topic :: View next topic
|
Author |
Message |
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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? |
.... 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 |
|
|
induajayrose Warnings : 2 New User
Joined: 25 Jul 2005 Posts: 28 Location: Thrissur
|
|
|
|
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 |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
rssomm
New User
Joined: 05 Jun 2005 Posts: 41 Location: Hyderabad
|
|
|
|
DB2 will use VSAM linear Datasets(LDS).
Madhu |
|
Back to top |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
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 |
|
|
sarath_ibm
New User
Joined: 03 Aug 2005 Posts: 14 Location: hyderabad
|
|
|
|
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 |
|
|
tom_mat
New User
Joined: 13 Jul 2005 Posts: 11
|
|
|
|
To copy all the members in a PDS to PS, try this utility, IEBPTPCH
thanks! |
|
Back to top |
|
|
|