How do you code Cobol to access a parameter that has been
defined in JCL?

Answer Posted / lynn ertell

Apparently you cannot use the ACCEPT verb against the
LINKAGE parameters if you are already using SYSIN.
It's either one or the other but not both.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

672


How do define dynamic array in cobol.

671


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

824


What type of SDLC u followed? Why?

1520


How arrays can be defined in COBOL?

663






i need a small 3d program using inline and outline.

1638


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


How to remove 2 duplicate records and copy only one using job control language?

753


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


What are the pertinent COBOL

2045


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10610


What is comp-1 and comp-2?

764


What is amode(31)

724


how to access the file from prodution from changeman tool and to submit a file to production

6686


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

689