MainFrame Interview Questions
Questions Answers Views Company eMail

Deleting a record from a Sequential file.

Polaris,

2 8230

i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

IBM,

2 4588

In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??

CSC,

2 11097

How to find the length of variable length copybook using fileaid ??

CSC,

1 12660

SI Stud name Subject Marks Pass/Fail 1 Sham Maths 40 P 1 Sham Physics 50 P 1 Sham Bio 20 F 2 Ram Maths 40 P 2 Ram Physics 50 P 2 Ram Bio 60 P For the above data , write the SQL query for the student who passed in all the subjects . For eg : I want the data of only Ram coz he passed all subjects .

Cognizant,

2 6837

How to declare the dynamic(run time) array in rpgle? can you please give example

Polaris,

2 12516

what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

IBM,

2 9714

Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

VS, Wipro,

7 22841

I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 8436

Hi Team, Please tell me, If i don't declare the cursor in the program and i have given open and fetch and close, then what error will get.

IBM,

6 12175

I have a main program (A) where we delete some rows in table in a cursor, and we commit it in sub program(B). What will happen - will we get an error or not?

2 5334

Thru web page we have triggered the transaction, how can we come to know that whether it has hit the mianframes or not?

2 3696

If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 8446

Hi can anybody tell me about Mainframe batch testing and how is it done. I am totally new to mainframe testing. Thanks in Advance.

IBM,

1 4155

How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 13662


Un-Answered Questions { MainFrame }

I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

703


What is the cics command level?

549


Explain how do you terminate an already issued delay command?

536


how can u check no of records in a file?

671


What is db2 purescale?

538






What is dbrm?

632


How many sections are there in data division in COBOL?

672


What are the different dataset organizations used in vsam?

561


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1441


Name and explain the three location modes?

1009


How can you submit a job through cobol program?

1143


how will you search an array?

644


Can you define cemt?

648


are there any useful c runtime apis that I can call from rpg iv?

687


what is the difference between do while and do until?

691