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

interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 463

PostPosted: Thu Aug 25, 2005 12:19 pm
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
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Aug 25, 2005 3:17 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Comp interview questions Mainframe Interview Questions 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Mainframe Interview Questions CICS,CO... Mainframe Interview Questions 6
No new posts Viewing executing process in NDM .. q... IBM Tools 0
Search our Forums:

Back to Top