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
Answers were Sorted based on User's Feedback
Answer / chandrababu naidu
first precompile the subprogram then compile, linked and then
put into loadlib. later on compile and linked and finally run
the main program.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / chandrababu naidu
first precompile, compile, linked and bind the subprogram
i.e.,subprogram put into loadlib. later on compile and linked
and run the main program.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohan.chepuri
1) no it is not calling the another pgm,it wil compile
current pgm
2)no
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mohan.chepuri
1) no it is not calling the another pgm,it wil compile
current pgm
2)no
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the purpose of dd * statement in jcl?
Which storage devices are grouped under DASD and SYSDA ?
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
i want to store 20 digits . how will u do it in cobol ?
what is use of dcb parameter in dd statement?
Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?
Can we give two user name in NOTIFY parameter in JOBCARD
i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what is the purpose of SYSOUT parameter in the DD statement?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What is the purpose of the PARM keyword in the EXEC statement?