MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JCL interview Questions

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A
View previous topic :: View next topic  
Author Message
ksateesh
Beginner


Joined: 31 May 2006
Posts: 1
Topics: 1

PostPosted: Wed May 31, 2006 11:37 pm    Post subject: JCL interview Questions Reply with quote

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
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 525
Topics: 89
Location: Bangalore India

PostPosted: Thu Jun 01, 2006 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12360
Topics: 75
Location: San Jose

PostPosted: Thu Jun 01, 2006 5:10 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12360
Topics: 75
Location: San Jose

PostPosted: Thu Jun 01, 2006 8:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Interview Q & A All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group