How do you send the output of a COBOL program to a member of
a PDS?

Answers were Sorted based on User's Feedback



How do you send the output of a COBOL program to a member of a PDS?..

Answer / guest

Code the DSN as PDS (member) with a DISP = SHR. The DISP
applies to the PDS and not to a specific member.

Is This Answer Correct ?    7 Yes 0 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / anand.r

correct answer is
//iksa01j job
//step1 exec pgm=pgm1
//sysout dd dsn=pdsname(membername),disp=shr
//

Is This Answer Correct ?    6 Yes 0 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / chandrakant

For the output data set, code the name as the pds along with
the memner name. for example if you want to create a new
member abc in pds aa.bb.cc, then code it as
DD DSN=AA.BB.CC(ABC),
DISP=(NEW,CATLG,DELETE),
UNIT=your unit,
SPACE=(TRK(1,1),RLSE), --> this is only indicative
........

Is This Answer Correct ?    4 Yes 2 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / karthika

simply XDC the output after the run...

Is This Answer Correct ?    3 Yes 1 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / suputhru

Hey Guest,
you are doing great job, keep it up.

- SK.

Is This Answer Correct ?    1 Yes 0 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / vinay sonar

//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD SYSOUT=*
//SYSUT2 DD DSN='PDS NAME TO WHICH OUTPUT IS TO BE COPIED'

Is This Answer Correct ?    0 Yes 0 No

How do you send the output of a COBOL program to a member of a PDS?..

Answer / prasad

For the output data set, code the name as the pds along with
the memner name. for example if you want to create a new
member abc in pds aa.bb.cc, then code it as
DD DSN=AA.BB.CC(ABC),
DISP=(NEW,CATLG,DELETE),
UNIT=your unit,
SPACE=(TRK(1,1),RLSE), --> this is only indicative

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

What are the rules employed while naming the steps in a job?

0 Answers  


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

0 Answers  


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


What is S322 abend ?

5 Answers  






If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

0 Answers  


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


What is meant by S0C7 system abend code?

8 Answers  


how to edit a tape dataset ? asked in wipro

1 Answers   Wipro,


when does a dataset go uncataloged?

0 Answers   IBM,


If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 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,


Categories