Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / harish

environemnt division

file1 assign to ddname
file2 assign to ddname

for this in JCL //DDNAME DD DSN.......

LINKAGE SECTION
01 LN-LEN PIC S9(4) COMP.
01 X PIC X
01 Y PIC X
IN JCL THROUGH PARM (MAX 1 TO 100 CHAR)

procedure division.

ACCEPT X
ACCEPT Y.

IN JCL THROUGH SYSIN DD*


pls correct me if anything wrong

HARISH POOMGAME SHIVAPPA(hassan,karnataka)
NIIT TECHNOLOGY
KOLKATA

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) how do u code after getting data?

2068


What is the difference between structured cobol programming and object alternativelyiented cobol?

1184


Explain how you can characterize tables in cobol?

1008


Write down the divisions of cobol program?

1146


What is the compute verb? How is it used?

1074


Define static linking and dynamic linking.

1108


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

1087


How to print 10 to 1 if the input have only 10 digit number?

1215


How are the next sentence and continue different from each other?

1224


How do you define a variable of comp-1 and comp-2?

1135


What are the various section in data division and briefly explain them.

1108


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3091


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1185


Write the code to count the sum of n natural numbers.

1141


How do you get the data to code the BMS macro?

1919