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
 

 

interview questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
rambabu
Currently Banned

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Thu Aug 25, 2005 11:52 am    Post subject: interview questions
Reply with quote

1) how can u get test data in ur company. explain?
2)what is resp1 and resp2?
3)i have one ps file .it has contaning 1000 records. i want to open disp=mod.
can i read the records in the file?
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Aug 25, 2005 12:19 pm    Post subject: Re: interview questions
Reply with quote

Hi,

Quote:
1) how can u get test data in ur company. explain?



Could you elaborate your question

Quote:
3)i have one ps file .it has contaning 1000 records. i want to open disp=mod. can i read the records in the file?


Yes you can read the records


Regards

Rupesh
[/quote]
Back to top
View user's profile Send private message
vijay naidu

New User


Joined: 12 Jul 2005
Posts: 5
Location: pune

PostPosted: Thu Aug 25, 2005 2:00 pm    Post subject: Re: interview questions
Reply with quote

hi rupesh,

for ur first question. test data means after complition of ur changing data depending on ur change request they sent a sample data with change request for u to do testing on ur progam tha test will come through mail r PS file n they send expected results also so compare the coming result wih expected result if same u done good.
n i didn't get ur second question if send it clearly i try for that.

thanks & regards,
vijay
Back to top
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Thu Aug 25, 2005 2:15 pm    Post subject:
Reply with quote

hi rupesh,
for the second question,ansWER is its not possible to read the ps file.becos as u said the ps file contains already 1000 records .so it is old file.SO DISP=MOD WILL ONLY ALLOW U TO APPEND RECORDS AT THE END OF THE FILE.It IS DONE IN EXTEND MODE.SO ONLY WRITE OPERATION IS ONLY POSSIBLE IN EXTEND MODE.SO NO READ IS POSSIBLE.
REGARDS,
SATHISH
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Thu Aug 25, 2005 3:17 pm    Post subject: Re: interview questions
Reply with quote

Hi Rambabu,

Quote:
1) how can u get test data in ur company. explain?

Approach your DBA...He/She may help you in this regard.

Quote:
2)what is resp1 and resp2?

These are variables used to store response code from the last CICS Command. RESP2 is used to store additional information.

Quote:
3)i have one ps file .it has contaning 1000 records. i want to open disp=mod.
can i read the records in the file?

Such types of questions should be tried yourself first before putting to the members. Did you try reading such a PS file in DISP=MOD.

Regards,

Priyesh.
Back to top
View user's profile Send private message
sendil

New User


Joined: 30 Jun 2005
Posts: 27

PostPosted: Fri Aug 26, 2005 12:01 pm    Post subject:
Reply with quote

For first question,

You get the testdata from production backup file. The production back up file contains previous day processing data. We hav an ouput for this production data.If you are doing testing with this production data, you can easily compare the result of your output and prodcution data. so by using NDM process, you can copy the data from prodcution.

For your second question

RESP

contains a number corresponding to the RESP condition that occurred. Thesenumbers are listed below (in decimal) for the conditions that can occur during execution of the commands described in this manual.

COBOL: PIC S9(8) COMP
C: long nt e bresp;
PL/I: FIXED BIN(31)
ASM: F

No. Condition No. Condition

00 NORMAL 55 ENQBUSY
01 ERROR 56 ENVDEFERR
02 RDATT 57 IGREQCD
03 WRBRK 58 SESSIONERR
04 EOF 59 SYSBUSY etc
RESP2

contains more detailed information that may help explain why the RESP
condition occurred. This field contains meaningful values, as documented
with each command to which it applies. For requests to remote files,
RESP2 contains zeroes.
Back to top
View user's profile Send private message
michaelraj

New User


Joined: 01 Sep 2005
Posts: 43
Location: Bangalore

PostPosted: Thu Sep 01, 2005 6:59 pm    Post subject:
Reply with quote

Hi,

1).How can u get test data in ur company. explain?
A). You are asking for a test data to test a program right? Test data is nothing but data members which is a flat file given as Input to test the Program in Xpeditor. These data members can be created by TESTSEG. We use the option S.TES in our software, check the option with your administrator.
FIVE STEPS TO DO



You want to test and use Testseg and there is not an existing datamember
then the following steps are necessary.

Step 1.
Create a program flow of the program you want to test.

Step 2.
Convert the selected copymembers to the Testseg format.

Step 3.
Create a datamember by using the Testseg format.

Step 4.
Check the settings of Xpediter before you start testing.

Step 5.
Start testing the datamember in combination with Xpediter.


3)i have one ps file .it has contaning 1000 records. i want to open disp=mod. Can i read the records in the file?
A). As it is old file, you can read the record in the file. you can also write in it and the records will be appended to the file.


Regards,
Mike.
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 The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm


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