What type of Call you would use if you don;t want the
control back to the calling program?
Answers were Sorted based on User's Feedback
Answer / lvrajesh
After going thru manuals I believe coding a STOP RUN instead
of GO BACK will give the control directly to the OS.
Correct me if I am wrong.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / balaji
Hi,
Please correct me if I am wrong..
I think u can give any call Static/Dynamic because these
CALL just tells how the calling program to be
invoked...during compile time or at the runtime...but if u
give Stop run in your called program it will automatically
give the control back to the OS and not to the calling
program unlike GOBACK which returns the control back to
calling pgm..
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / lvrajesh
Hi Menaka,
Can you please explain more about using 'CHAIN' possibly using an example.
Thanks
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lvrajesh
Hi Menaka,
Thanks for your answer. I believe you're answer is correct
after referring M.K. Roy book.
But I have a doubt,in the book it has been listed under
'COBOL for Personal Computers' so whether it applies to
Mainframe Cobol(VS Cobol II/Enterprise COBOL) usage. I
referred some IBM manuals and not able to find it.
Please let me know if you have you used it.
Appreciate your inputs.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lr
@vaduguru
Thanks for answering.
But the question is in COBOL CALL.
Since, I posted under COBOL question list, I didn't
mentioned it explicitly in the question.
I was really curious to answer to this.
Is This Answer Correct ? | 0 Yes | 1 No |
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
How is sign stored in a COMP field ?
what happens if we wont give timestamp in precompilation process ?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
C1 C2 C3 are three conditions whose TRUTH values are as folloes. C1-TRUE C2-FALSE C3-TRUE A,B,C are defined as given below A:C1 AND(NOT C2) OR C3 B.(NOT C1) OR (NOT C2 AND NOT C3) C.(C1 OR C2)AND C3 D.C1 AND C2 OR C3 given the above information which of the following statements are valid? a.only A,B and C are TRUE b.only A,C and D are TRUE c.A,B,C and D are TRUE d.only C and D are TRUE
How to read a 100 record from a file through cobol?
consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end
here is my compile and link edit steps in a jcl //COMPILE1 JOB (3CUS,S),'CCDM TEST' //STEPNAME EXEC PGM=IGYCRCTL,PARM='DYNAM,RENT,LIB,OBJECT, // OFFSET,APOST,OPTIMIZE',REGION=4096K //STEPLIB DD DSNAME=PM7351.TEST2.COB,DISP=SHR //SYSIN DD DSNAME=PM7351.TEST2.COB(PGM1),DISP=SHR //SYSUT1 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT2 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT3 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT4 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT5 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT6 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT7 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSPRINT DD SYSOUT=* //SYSLIN DD DSNAME=&&LOAD,DISP=(MOD,PASS),UNIT=SYSDA, // SPACE=(10,(10,10)),DCB=BLKSIZE=400 //LKED EXEC PGM=IEWL,REGION=1024K //SYSPRINT DD SYSOUT=A //SYSLIB DD DSN=PM7351.TEST2.LOADLIB,DISP=SHR // DD DSN=PM7351.TEST2.COB(PGM1),DISP=SHR //SYSLMOD DD DSN=PM7351.TEST2.LOADLIB, // DISP=SHR //SYSUT1 DD UNIT=SYSDA,DCB=BLKSIZE=1024,SPACE=(CYL,(1,1)) //SYSTERM DD SYSOUT=* //SYSLIN DD DSN=&&LOAD,DISP=(OLD,DELETE) //SYSIN DD DUMMY i am getting IEW2013I 0F08 NO MEMBER NAME WAS SPECIFIED. MODULE WAS SAVED USING TEMPNAM1. could any one tell me the resolution for this..?
How may divisions are there in JCL-COBOL?
What is the LINKAGE SECTION used in COBOL?
What is normalisation?
How to Pass table from a cobol program to another cobol program and how to use that table in called program