You are on page 1of 4

Mainframe230

Home

Free Questions

CONTENT
Abend Codes
CICS
CICS Program's
CICS Tutorial
COBOL
COBOL Program's
COBOL Tutorial
DB2
DB2 Tutorial
Download
Entire Mainframe
Materials
JCL
JCL Program's
JCL Tutorials
Mainframe
Mainframe Case
Study
Mainframe Tips
Mainframe Tools
Mainframe
Tutorials
MF Interview
Question Answers
PL/I Program's
Progrrams
Sample Mainframe
Program's
SQL Codes
TSO/ISPF
VSAM
VSAM Program's
VSAM Tutorials
MAINFRAME
PROGRAM'S
JCL Sample
Program's
VSAM Sample
Program's
DB2 Sample
Program's
COBOL Sample
Program's
CICS Sample
Program's
SUBSCRIBE TO
Posts
Comments
TOTAL PAGEVIEWS

70478
0
SUBSCRIBE VIA
EMAIL

MAINFRAME230

FILEAID Tool Important Tips


Like 1

Search
powered by

TIP # 1

FILEAIDFREE CICS Tutorial - CICS Interview Question & Answers - Mainframe Case Study Project - Mainframe ATM Project - New SQL Interview Que
Download
The Easiest and Coolest way to locate bad data is thru File-Aid's FIND
command.
1.OPEN the file in FILE-AID (in either browse or edit mode)
2.XREF with COPYBOOK.
3.Use FMT mode
4.Then issue ,
F /field-name INVALID
or
F /field-number INVALID
The control will take you to the first invalid data record for the given field.
e.g.,
The FILE has 3 fields namely NAME,AGE,COUNTRY.
If you want to find the invalid data in the age field, then issue
F /2 INVALID

RECENT POSTS
MAINFRAME TOOLS
Endevor Tool Tutorial
FILEAID Tool Tutorial
Changeman Tool Tutorial
POPULAR POSTS

TIP #2
FILEAID
We always face a s ituation such that when we have opened a File in FI
LEAI
D Brows e mode but later wished it was EDI T Mode and vice ver sa. S o in
this s ituation, what we do is come out of the brows e mode and again open
in
edit mode and vice ver sa. But ther e is a cool command available in FI LEAI D
to help us in this type of s ituation.
I f u r in Brows e Mode and want to change it into EDI T Mode , in the Line
Command is sue
COMMAND = = > GO EDI T
I f u r in EDI T Mode and want to change it into BROWS E Mode , in the
Line
Command is sue
COMMAND = = > GO BROWS E
TIP # 3
FILEAID
How to determine compile date of loadlib member ??
Use FILE-AID !!
1. Go to FILE-AID 3.1 option
2. In the Library Utility type in the loadlib dataset name
3. Type 'a' next to the member name
4. TDATE is compile date
TIP # 4
FILEAID
Whats the best way to count the number of records in a VSAM File?
1.Choose FILE-AID Option 3.8
2. At the prompt of ....ENTER NEXT FUNCTION OR END , enter TALLY
3. U will get the record count
4. Type END to exit.
TIP # 5
FILEAID
While working in MS Excel we have the option of freeze Panes. By this
options we can freeze
some columns and have other columns scrolling. This feature is helpful in
analysis when there
are lots of columns(fields) in a file.

Changeman Tools Tutorials


CHANGEMAN Changeman is version control
utility of HOUSEHOLD which manages and
automates the process of implementing
applications/syst...
IMS DB/DC Return Codes
The IMS return codes are listed here
alphabetically, you may browse through
them or you may enter the code you are
looking for and press th...
REPRO ,REPLACE,PRINT,DELETE and
VERIFY Command In VSAM
Modal Commands It is possible to include
AMS commands to perform more than one
function in a single execution of the IDCAMS
utility. Theref...
Levels Numbers in COBOL
Levels 1. What are the different levels
available in COBOL? Level Numbers
available are 01-49, 66, 77, 88 01-49
Group o...
Create VSAM or DEFINE CLUSTER
DEFINE CLUSTER Command DEFINE
CLUSTER (NAME(entryname)
{CYLINDERS(primary] secondary]) |
RECORDS(primary[ secondary]) ...
JCL Abend Codes
S001-4 Abend Input file record length is not
equal to the length stated in the DD or the
FD. Wrong length record. IO error, damaged
tape, ...
File Status Codes (or) COBOL Abend Codes
ERROR
REASON CODE 00
Operation completed successfully
02
Duplicate Key was found...
FILEAID Tool Important Tips
TIP # 1 FILEAID The Easiest and Coolest
way to locate bad data is thru File-Aid's FIND
command. 1.OPEN the file in FILE-AID (in
eith...
Endevor Tool - Interview Question and
Answers
ENDEVOR FREQUENTLY ASKED
QUESTIONS 1. WHEN DO COMPILES
OCCUR? WHEN ADDING TO THE TEST
STAGE WHEN ADDING TO THE FIX...

converted by W eb2PDFConvert.com

In mainframe too, we have similar such facility thru File-Aid.


1.Open the file in File-Aid
2. use VFMT format
3. If you want to freeze columns(fields) 1,2,3, and 6 and have the rest as
scrollable
issue command HOLD 1-3,6
TIP # 6
FILEAID
Enter your email
address:

Subscribe

Delivered by
FeedBurner
ABOUT ME

Can I issue FIND command to find values that are less than or greater than
certain value at
column 25??
We cant accomplish this task thru ISPF , but File -Aid provides us the
facility to issue FIND
command with relational operators like EQ,NE,LT,GT,LE and GE.
e.g.,
FIND LT 2004 25 ALL
So if one wants to use relational operator along with FIND command, open
the same dataset in
FILE-AID.
TIP #7
FILEAID

M siva raman
Gingee, Tamilnadu,
India
View my complete
profile

Mainframe PPT Tutorial:


GDG Tutorial - PPT CICS: CICS Tutorial PPT1 CICS Tutorial - PPT2 CICS Tutorial PPT3 CICS Tutorial - PPT4 CICS Tutorial PPT5 CI...

FREE QUESTION & ANSWER


Get FREE Mainframe Interview Question &
Answers - Click Here
MAINFRAME REFERENCE
Mainframes-JCL
COBOL reference Materials
Mainframes-Refresher-Part2
POST LIST

MAINFRAME230
VISITORS

Post List
Subscribe

Consider this situation. I am doing a verification on an output file. The output


file has 200 fields.
I need to verify only 25th and 175th fields only.
I am using FILE-AIDs VFMT mode and for each record I am scrolling
between 25 th and 175th
field. Is there any efficient way to handle this situation?
Some people might use HOLD to freeze 25th and 175th field , but still other
fields are displayed ,
which is an annoyance.
Here is one better way:
In the VFMT mode, issue DISPLAY 25 175 ONLY
Only 25th and 175th fields will be displayed.
TIP #8
FILEAID
ABEND SOLVING
At midnight I receive production call.
One job abended due to classic S0C7. Thru analysis I located the particular
field which is a
COMP-3 and junk data is sitting in that field for some records.These bad
records are not
contiguous but occuring randomly in the input file.
Now to save my head I have to delete all the records with bad data in that
particular field and reexecute
the job quickly. Assume that input file has some 10 million records.
How can I eliminatethe bad records in an efficient and a fast
method?
Here is the approach:
Using the following FILE-AID option in batch mode
$$DD01 DROP IF=(field-position, field-length, NEP)
NEP means Not Equal to PACK
One can generalize and customize the below JCL to deal with similar type
of ABENDS.
For Example,
My input layout is:
01 TEST-RECORD.
05 NAME-FIELD PIC X(5).
05 AMOUNT-FIELD PIC 9(3) COMP-3.
My JCL to eliminate the bad records:
//STEP01 EXEC PGM=FILEAID
//*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//DD01 DD DSN=MYID.CHECK.OUT,DISP=SHR
//DD01O DD DSN=MYID.CHECK.OUT,
// DISP=(NEW,CATLG,CATLG),

converted by W eb2PDFConvert.com

// DCB=(MYID.CHECK.OUT)
//SYSIN DD *
$$DD01 DROP IF=(6,2,NEP)
/*
This will drop the bad data records and retain only the good one.
TIP #9
FILEAID
I want to do Fuzzy Comparison of files!!
My requirement is to compare 2 files of which for one certain field I can have
+ or - 1 value which should
be acceptable while comparing.
Thru FILE-AID COMPARE (OPTION 10), one can set percentage amount for
numeric
fields that determines "close enough" matches. When the "Formatted
Criteria" table
appears after the 2 files are specified, use the "T" line command. This brings
up a
"Tolerance Value/Percentage Specification" panel where you can set a plus
or minus
value for a numeric field.
You might like:

ReadQ TD Command ~ Mainframe230


Receive two values from the screen and display the output ~
Mainframe230
ReadQ TS Command (TSQ) ~ Mainframe230
Mainframe Tutorial

OTHER RECOMMENDED POSTS:


C OBOL Interview Questions
IMSDB Important Tips
SQL Important Questions And Answers
Free Mainframe E-Books
Endevor Tool - Workshop Objectives
Endevor Tool - Interview Question and Answers
DB2 FAQ's
Interview Question and Answer-MF
What is use of FREEKB?
What is Difference between TSQ & TDQ?
RESETBR C ommand in cics
READNEXT C ommand and READPERV C ommand in cics
Browser commands in cics - STARTBR C ommand
What is Browser in cics?
FILEAID Tool Important Tips
C IC S Important Tips
Mainframe Tutorial-C IC S File C ontrol C ommands-DELETE C ommand
Mainframe Tutorial-C IC S File C ontrol C ommands-REWRITE C ommand
IMS DB/DC Return C odes
File Status C odes (or) C OBOL Abend C odes

Get FREE Mainframe Interview Question & Answers - Click Here


Posted by M siva raman at Sunday, November 07, 2010
Labels: CICS, CICS Tutorial, Entire Mainframe Materials, Mainframe, Mainframe Tips,
Mainframe Tools, MF Interview Question Answers

0 comments:
Post a Comment
Newer Post

Home

Older Post

converted by W eb2PDFConvert.com

Subscribe to: Post Comments (Atom)

Grab this Headline Animator

Home | Downloads | Free Questions | Mainframe Forum | Mainframe Reference Books


Mainframe Copyright@2010. Template images by rajareddychadive. Powered by Blogger.

converted by W eb2PDFConvert.com