How do you send the output of a COBOL program to a member of
a PDS?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / suputhru
Hey Guest,
you are doing great job, keep it up.
- SK.
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
what is the meaning of 'sysin dd dummy'
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
What are hierarchy levels in jcl?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
Explain about CBL/PROCESS statement syntax
A job has 150 steps i want to execute only 57th step
What will happen if we write two STOP RUN's in a COBOL program?
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
what is the job entry system used in your project?
which parameter is use to declare the name of dataset in dd statement?