How do pass the values to the parameters in cobol
Answers were Sorted based on User's Feedback
Answer / sushant kumar mohanty
1) PARM (Receive in Linkage Section)
2) SYSIN DD* (Receive with ACCEPT statement)
3) Files ( Declare/Define/Open in the program)
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / naidu
You can pass the values to cobol program using 3 ways:
1.passing the parameters from SYSIN
2.using parm
3.using file
Is This Answer Correct ? | 2 Yes | 0 No |
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to print 10 to 1 if the input have only 10 digit number?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
In which area will you utilize 88 level items in cobol?
What is the different between index and subscript?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
how to display the dataset information?
i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.