How can u know the current date using jcl?

Answers were Sorted based on User's Feedback



How can u know the current date using jcl?..

Answer / arpan kumar

by using cobol program we can know that current date of jcl

Is This Answer Correct ?    5 Yes 3 No

How can u know the current date using jcl?..

Answer / arun

using DATE function

Is This Answer Correct ?    6 Yes 11 No

Post New Answer

More JCL Interview Questions

Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.

2 Answers   UHG,


What is a JCL Command statement ?

1 Answers   IBM,


Can we use DISP=SHR in output file in JCL

0 Answers  


What is the difference between primary and secondary allocations for a dataset?

8 Answers  






diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


how to code instream data in procedure?

3 Answers  


what is “Cond= even” and “Cond=only”?

0 Answers  


What is the difference between BLKSIZE and LRECL?

3 Answers  


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

0 Answers   IBM,


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


What do you feel makes a good program?

1 Answers  


Categories