View previous topic :: View next topic |
Author |
Message |
ksateesh Beginner
Joined: 31 May 2006 Posts: 1 Topics: 1
|
Posted: Wed May 31, 2006 11:37 pm Post subject: JCL interview Questions |
|
|
Hai,
I have 4 questions.
1. I have a source file which contains lower case letters. I want to load
them into output file as uppercase letters. pl suggest the jcl for that.
2.How to compare two VB files.
3. How can i say just by looking at jcl which one is flat file and which
one is vsam file.
4. I have a job in that step3 receives the temporary dataset which is created in step2. But step2 failed. Then what happens to Step3. |
|
Back to top |
|
|
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 525 Topics: 89 Location: Bangalore India
|
Posted: Thu Jun 01, 2006 3:15 am Post subject: |
|
|
ksateesh,
The answer to your first question:
Suppose your input dataset is 80 bytes and it has data in all small letters and you need the output in all capital letters routed to a output dataset run this code:
Code: | //STEP0001 EXEC PGM=SORT
//SORTIN DD DSN=SHEKAR.DATA.INPUT,DISP=SHR
//SORTOUT DD DSN=SHEKAR.DATA.OUTPUT,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTREC FIELDS=(1,80,TRAN=LTOU)
/*
//
|
INPUT DATSET SHEKAR.DATA.INPUT
Code: |
shekar123
ksateesh
june
thursday |
OUTPUT DATASET SHEKAR.DATA.OUTPUT
Code: |
SHEKAR123
KSATEESH
JUNE
THURSDAY |
_________________ Shekar
Grow Technically |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12360 Topics: 75 Location: San Jose
|
Posted: Thu Jun 01, 2006 5:10 am Post subject: |
|
|
ksateesh,
Please post your Questions in the approriate forum with the approriate titles.
2. Use 3.13 ( Superc)
3. What do you mean by looking?
4. Deleted
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12360 Topics: 75 Location: San Jose
|
Posted: Thu Jun 01, 2006 8:33 am Post subject: |
|
|
ksateesh,
Despite warning you keep posting the questions with forum names as topic titles(Cobol, Db2, JCl...) . Just remember that no matter how many times you post without following the rules your questions will be deleted. If you continue to do so , soon you will loose privileges to post on this board
Thanks
Kolusu _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|