is this below syntax correct?

CALL 'subprg' using A,B

Please help

Answer Posted / billyboyo

Yes, your syntax is correct.

This is using the "call literal" option of IBM Cobol. If
you do need the call to be dynamic, specify the DYNAM
option on the compile.

If you were to have used "call data-name" then the call is
perforce dynamic and unaffected by DYNAM/NODYNAM compile
option.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

935


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1859


What are various search techniques in cobol? Explain.

871


IF I mention stop run in CICS what happens?

2091


Can a Search can be done on a table with or without Index?

1054


How arrays can be defined in COBOL?

836


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5425


Name some of the examples of COBOl 11?

2883


In which area will you utilize 88 level items in cobol?

894


) how do u code after getting data?

1801


What is the difference between external and global variables in COBOL?

1046


Which is not true about evaluate statement

2099


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

886


What is length is cobol?

862


Write a program to explain size error.

884