Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Accenture interview question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Mon Nov 02, 2009 2:00 pm    Post subject: Accenture interview question
Reply with quote

How to change the record format of a file from VB to FB?. Please let me know the TSO commands otherwise please explain the possible ways.
Thanks,
HKR
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Mon Nov 02, 2009 2:02 pm    Post subject:
Reply with quote

Hello Hari,

I am nt sure abt TSO command but it can be done by Sort, iebcopy etc.
Back to top
View user's profile Send private message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Mon Nov 02, 2009 2:03 pm    Post subject:
Reply with quote

Hi guptae,
Please let me know the codes.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Nov 02, 2009 2:56 pm    Post subject:
Reply with quote

royalchm wrote:
Hi guptae,
Please let me know the codes.

WRONG The idea of interview questions is for you to give your answer NOT to demand code.

Topic moved to relevant forum.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Nov 02, 2009 3:08 pm    Post subject:
Reply with quote

If you'r not sure, search the JCL or DFSORT/ICETOOL part of the Forum on "VTOF" -- you'll get enough examples to work with.
Back to top
View user's profile Send private message
deepthimadhu

New User


Joined: 03 Mar 2009
Posts: 12
Location: Trivandrum

PostPosted: Wed Dec 02, 2009 5:47 pm    Post subject:
Reply with quote

VTOF option of OUTFIL helps you to convert VB records to FB records
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Dec 02, 2009 11:02 pm    Post subject:
Reply with quote

Hello,

Quote:
How to change the record format of a file from VB to FB?.
If i understand the question (and i may misunderstand), you can make a copy with a different format, but you won't change the format of the original file.
Back to top
View user's profile Send private message
esaccy
Currently Banned

New User


Joined: 19 Feb 2005
Posts: 22

PostPosted: Thu Dec 03, 2009 1:54 pm    Post subject:
Reply with quote

Here is the answer with an example.

SORT FIELDS = (7,8,CH,A)
OUTFIL FNAMES= FB1,VTOF,OUTREC=(5,76),VLFILL=C'*'

By default space will be padded for records that is short of LRECL 80.Since VLFILL=C'*' is given ,in this case * will be padded.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Dec 04, 2009 7:53 am    Post subject:
Reply with quote

esaccy, please see expat's post.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us