what are the paramater we cannot use in procedure?how many
instream we can write in single jcl?can we call instream to
catalog and ctalog to instream?
Answers were Sorted based on User's Feedback
Answer / vasanthymca
sysin dd * we cannot use in procedure,15 instream proc we
can code.we can call instream to catalog.but we cannot call
catalog to instream
| Is This Answer Correct ? | 13 Yes | 0 No |
Instream message can't be passed with in a proc with the help of
Ex:
// sysin DD *
Sort fields =copy
/*
So we have to create a control card.
Control card member is used to store instream data which has to be used with in a proc like
//Proc1 proc
//Step2 DD dsn=aggst.temp.ps(contmem),disp=shr,
..
..
..
//Pend
Ps: contmem is the member name which contains sysin DD * info
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between comp and comp-3?
I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
What are the rules of the move verb?
how do u link sub pgm to main pgm ?
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Give some examples of command terminators?
What are the steps you go through while creating a COBOL program executable?
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
Name the divisions in a COBOL program ?
in the TIME parameter we r giving hours r minutes