IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Accenture interview question


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Mon Nov 02, 2009 2:02 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Nov 02, 2009 2:56 pm
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

Superior Member


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

PostPosted: Mon Nov 02, 2009 3:08 pm
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
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

Moderator Emeritus


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

PostPosted: Wed Dec 02, 2009 11:02 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top