I have a cobol db2 program(PGM A) where other program (PGM
B) will call this program and passes some 50 fields data to
PGM A. PGM A has some layout in which it receives the data
from PGM B. And this layout has been copied in the linkage
section pf PGM A. After getting the data, PGM A writes the
data in a flat file in the same layout which it receives
from PGM B. PGM B is a simple COBOL pgm. Please provide a
JCL to run these programs.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JCL Interview Questions

Explain the job statement in jcl?

0 Answers  


How does jcl act on a cobol code?

0 Answers  


i have a string of 80 chars i want to replace 4th char with "a"?

3 Answers   CSC,


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


how to resolve soc-7 ? please tell me

3 Answers   IBM,






FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?

4 Answers   IBM,


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.

2 Answers   Cap Gemini,


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 Answers  


what are the options in file-aid to edit vsam dataset and to compare data sets.

2 Answers   Ocwen,


How to create delta file using JCL

1 Answers   CTC,


Categories