how will u code parm parameter and where pls ?
Answer Posted / rakesh reddy
In JCL
//step1 exec pgm=cobprog,parm='abcdef'
In COBOl
LINKAGE SECTIN.
01 PARM-FIELD.
05 PARM-LENGTH PIC S9(4)comp.
05 PARM-VALUE PIC X(6).
PROCEDURE DIVISION USING PARM-FIELD.
abcdf will reflect in PARM-VALUE
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Give some examples of command terminators?
what are decleratives in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is rmode(24)
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are the different rules to perform a Search?
How can you get the ksds file records into your cobol program?
What are the different types of condition in cobol and write their forms.
Name some of the examples of COBOl 11?
What is difference between static and dynamic call in cobol?
How do get the result of your program directly on your pc?
What type of SDLC u followed? Why?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What do you understand by psb and acb?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?