u have passed sme charecters thru parm parameter in jcl. how do u
code in cobol to recieve the values u gave in parm ?

Answers were Sorted based on User's Feedback



u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the valu..

Answer / graham

by using 'USING' keyword in procedure division and dataname.
one restriction is, declaring length variable and dataname
in linkage section of covol program.

Is This Answer Correct ?    18 Yes 2 No

u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the valu..

Answer / gangadhara.m

by using 'USING' keyword in procedure division and dataname.
one restriction is, declaring length variable and dataname
in linkage section of covol program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

what will happen if pass values more than 100 using PARM parameter?

1 Answers  


Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

3 Answers   IBM, UST,


In COBOL "BEFORE" advancing is there or not ?

3 Answers  


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


how to transfer the file from pc to mainframe??

2 Answers  






i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me

4 Answers  


HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER

7 Answers   Patni,


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 ......

4 Answers   Accenture,


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

0 Answers   IBM,


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  


Categories