Top Banner
11/17/2015 Length of each record in Variable file http://mainframewizard.com/content/lengtheachrecordvariablefile 1/34 Search 4 posts / 0 new Log in or register to post comments Last post Sun, 07/10/2011 - 07:22 #1 Anonymous (not verified) Home » Forums » COBOL » Length of each record in Variable file Length of each record in Variable file Length of each record in Variable file I have a requirement where I have to read a variable file and based on the different length of records in the file I have to do different processing. Custom Search mainframewizard Register | Login | Logout| Ask Questions ► Open File ► COBOL ► File Transfer ► File Get AdChoices BASICS FORUMS CLIST REXX MVS TIPS COBOL JCL INTERVIEW QUES DB2 OTHERS ABENDS ► File Get ► File Search ► SQL File ► AS400 File AdChoices ► Variable Data Print ► Flat File ► COBOL CICS DB2 AdChoices
34

Length of Each Record in Variable File

Apr 14, 2016

Download

Documents

Manas Gupta

Length of Each Record in Variable File
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 1/34

Search

4 posts / 0 newLog in or register to post comments Last post

Sun, 07/10/2011 - 07:22 #1

Anonymous (not verified)

Home » Forums » COBOL » Length of each record in Variable file

Length of each record in Variable file

Length of each record in Variable file

 

 

 

 

 

I have a requirement where I have to read a variable file and based on thedifferent length of records in the file I have to do different processing.

Custom Search

mainframewizardRegister | Login | Logout| Ask Questions

  ► Open File   ► COBOL   ► File Transfer   ► File GetAdChoices

BASICS FORUMS CLIST REXX MVS TIPS COBOL JCL

INTERVIEW QUES DB2 OTHERS ABENDS

  ► File Get   ► File Search   ► SQL File   ► AS400 FileAdChoices

► Variable Data Print► Flat File► COBOL CICS DB2

AdChoices

Page 2: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 2/34

Top Log in or register to post comments

Tue, 07/12/2011 - 20:13 #2

Alan.R.WynneOffline

Joined: 07/07/2011 - 19:59

 Say my input file hasrecords with length 10,20 , 30 and 40 In my cobol program ifthe record is of length10 then I would deal itwith other processingthen the record withlength 20. Any help would beappreciated. Thanks!!Karthik"; ; ; ;

Variable record size

Haven't tried this myself so not sure if it will work!

FILE SECTION.

FD REPORT-FILERECORD IS VARYING IN SIZE FROM 1 TO 10000DEPENDING ON REPORT-SIZE.

01 REPORT-RECORD PIC X(10000).

WORKING-STORAGE SECTION.

77 REPORT-SIZE PIC 9(4) COMP-5.

After reading the record you could examine the contents of the field in

Who's online

There are currently 0users online.

ASK A QUESTION ONFORUM

FORUM LIST

MAINFRAME-JOBS

COBOL FORUM

JCL FORUM

Scale your DB & Keep Up WithDemand Flexible SeasonalDatabase Capacity

E­Commerce Site Crash?

go.clustrix.com/Will­My­Site­Crash

Page 3: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 3/34

Top Log in or register to post comments

Wed, 07/13/2011 - 21:41 #3

Alan.R.WynneOffline

Joined: 07/07/2011 - 19:59

Top Log in or register to post comments

Thu, 07/14/2011 - 07:40 #4

Anonymous (not verified)

working storage called REPORT-SIZE and it will hopefully contain therecord length!

(Reply to #2)

Variable record size

It would e nice to know if this actually worked!

(Reply to #3)

Thank you so much

 

Alan,  Many Many Thanks!! It worked as expected. Here are my test results. Cobol program that I used.--------------------------  IDENTIFICATION DIVISION.                                         PROGRAM-ID. TEST1.                                               ENVIRONMENT DIVISION.                                            INPUT-OUTPUT SECTION.                                            FILE-CONTROL.                                                                                                                         SELECT INPUTFL ASSIGN        TO UT-S-INPUTFL.                                                                                 DATA DIVISION.                                                   

DB2 FORUM

CICS FORUM

TOOLS FORUM

LOGIN

LOGOUT

MANUALS

Hadoop Installation Modes

Assigning  Hostname  toLinux System

Hadoop Streaming

fresher job

How  to  Change  theKeyboard layout in Linux

Setup  Single  NodeHADOOP cluster

what is big data

WHAT IS HADOOP

Non  DB2  COBOL  programexecution

What  is  the  purpose  ofcommand NRDAY in CA­7

Extract  a  few  membersfrom a PDS

Run  SSIS  Packages  fromMicro  Focus  EnterpriseServer JCL

OMIT  the  records  if  spaceoccurs  in  any  place  of  aFive length filed....

Microsoft Cobol Compiler v2.20

Unix  Daemon  likebackground  process  inMainframe

IBM  is  hiring  freshers  ­

Page 4: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 4/34

                                                                 FILE SECTION.                                                                                                                     FD  INPUTFL                                                          BLOCK CONTAINS 0 RECORDS                                         RECORDING MODE IS V                                              RECORD IS VARYING IN SIZE FROM 1 TO 80 CHARACTERS                DEPENDING ON FILE-SIZE.                                      01  INPUTFL-REC                            PIC X(80).                                                                             WORKING-STORAGE SECTION.                                                                                                          01 FILE-SIZE PIC 9(4) COMP-5.                                    01  SWITCHES.                                                        05  EOF-INPUT-FILE           PIC X      VALUE 'N'.                   88 EOF-INPUT                        VALUE 'Y'.                                                                            PROCEDURE DIVISION.                                                                                                                   OPEN INPUT INPUTFL.                                                                                                               MOVE 'N' TO  EOF-INPUT-FILE.                                     PERFORM UNTIL EOF-INPUT                                            READ INPUTFL AT END                                                 SET EOF-INPUT TO TRUE                                         END-READ                                                         IF NOT EOF-INPUT                                                    DISPLAY FILE-SIZE                                             END-IF                                                         END-PERFORM                                                                                                                       STOP RUN.                                                       Contents of Input file INPUTFL------------------------------ THE QUICK BROWN

2013  Pass  out  and  70  %throughout

Difference  between  AS400and IBM mainframe

Openings  in  SOPRANOIDA

Year  as  last  qualifier  ofdataset in a job

Removing  line  numbersfrom col 73 till 80

gmail partial word search

Copy  DB2  table  records  toPS file using REXX tool

Sort

sql code ­804

Textpad Macro

Mainframes  Sorting  fromPS file

Mainframes  opening  inGurgaon

timezone in rexx

Need  Help  on OUTREC  inJCL

Full form of SOC7

File Manager

EZA1735I Std Return Code=  07550,  Error  Code  =00002

Nested Proc

rename clause

value  in  the  renamed  fieldafter move statment

difference  betweenmainframe  COBOL  andMicro Focus COBOL

Delete the record

Page 5: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 5/34

Top Log in or register to post comments

Sponsored Listing

FOX JUMPSOVER THE LAZYDOG  Contents of sysout display-------------------------- 00015                                                                                                                   00009                                                                                                                   00013                                                                                                                   00003                                                                                                                    

Log in or register to post comments

+1 button

FTP failure

between

COBOL dynamic Variables

decommisioning a job

Reg:Comp3

EZA1735I Std Return Code=  27000,  Error  Code  =00007

­CAUTION­ Profile changedto NUMBER ON STD (fromNUMBER OFF)

Mainframe file

IEBPTPCH  print  PDSmembers  to  a  file  inalphabetical order

JCL Realtime questions

CREATION  OF  VSAMFILE

Split a file using delimiter injcl

sequential access

Unanswered Forum Posts

DB2 Plan name for Test

I  am  not  able  to  see  jobstatus  in sdsf while  issuinga command "s.i"

test jcl for errors

regarding  taking  backup  ofa file

Writing  2  output  from  oneSort

Provide  the  details  requiredto  raise  SOBR  request  inmainframe

SYSTEM  COMPLETIONCODE=0C1  REASONCODE=00000001

Mainframe andSecurityLearn why Mainframe is oneof the most secure way toprocess data.

Page 6: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 6/34

Top Email this pageClick the +1 button  below to share it withyour friends and colleagues

 

Share this if you liked it! 

Disclaimer

Navigation

compile  and  Link  JCL  forIMS program

xpediter manual

how to get the sign value ofa  filed  (+,­  or  unsigned)from Packed decimal to flatfile in Easytrieve(EZTP)

COBTRACE code for cobol

Convert  Packed  format  toviewable  format  using  file­aid

Pass  data  from  clist  toREXX

How  to  get  space  used  bya file

SAR BATCH MANUAL

FTP huge file on mainframe

How  to  find  number  ofsimilar  HLQ  members  in  asingle PDS.

Trigger jobs using wait time

record  count  of  PS  fileusing file aid

CLIST  to  extract  membernames

Create PDS using CLIST

Copy  members  usingCLIST  from  one  pds  toanother

CLIST  to  write  data  in  PSfile

convert a VB file to FB

Need  FTP  delete  card  todelete  the  files  from sharedfolder

Creating a file using CLIST

pls tell me any one

JOB

Forums

Recent posts

Page 7: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 7/34

SUM  DECIMAL  VALUEUSING SYNCSORT

ISPS100  Invalid  servicename

Reading  file  sequentially  inCLIST

cics

PC to Mainframe

Current  schedule  loaded  inOPC

Read access to my PDS

JCL SORT

spool backup jobs

COBOL  Double  PrecisionMultiply

OPER no in OPC scheduler

Display database

Is  it  possible  to  find  howmany  mainframe­ids  areworking  this  time  in  acompany?

how to get a sar job back toejes?

Unload  all  the  members  ofPDS(VB) to PS file

Problem  with  SORTOUTRFIL and OUTREC

Problem  with  SORTOUTRFIL and OUTREC

How a data  in physical andsymbolic map gets treated

Add a new job in control­m

Capturing  mainframescreens

Open  a  mainframe  file  inappend mode in clist

FTP  Command  to  convert

Page 8: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 8/34

EBCDIC to ASCII

How  can  the  system  zmainframes  (z10  andforward)  and  softwareaddress the Big Data powerdrain?

To update card dynamically

what is NRWS in OPC

No  Delete  step  in  JCLcontains UCC 11

Get  member  name  forISREDIT macro

Job Openings  with  HughesCommunications India

How to download textpad

SORT TUTORIALS

JCL TUTORIALS

How  to  grant  updateaccess to my mainframe id

legacy modernization

Job Opening in Siemens

Conversion  from  Characterto Binary

rexx db2 cursor

What is COBOL

Get  List  of  running  jobs  inIOF

List  all  datasets  startingwith Qualifier

IBM History

send  email  usingSMTPNOTE in mainframe

sort  to  calculate  datedifference

IT companies

List  of  mainframe

Page 9: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 9/34

companies

mainframe jobs

IT roles

Submit  job  from  CICS  andCOBOL

What  is  the  use  ofIEBUPDTE

IT roles in programming

How  to  capture  a  valueentered  in  an  HTML  pageon  to  the  Back  end  inmainframes.

cost  saving  mainframeproject

Replace FTP with SFTP

What is IBM

What is DB2

Shortcuts in xpediter

IT  roles  in  ProjectManagement

IT  roles  in  Networkmanagement

Hot IT Skills

IT roles in Technical writing

IT  roles  in  webdevelopment

IT  roles  in  databaseadministration

IT  roles  in  Hardwaremanagement

IT roles in techincal support

IP Address for CryptoTerm

IT Positions

How  to  check  the  versionof zos

Page 10: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 10/34

IT software

JCL  to  XML  conversionhelp

Non  COBDB2  programcalls COBDB2 program

Is  binding  required  whenprogram  does  not  refer  anewly added column

Compare two files and writematching  records  to  a  fileand unmatched to another

Update  data  in  table  withprimary key and foreign keyconstraint

Can  foreign  key  be  definedon unique index

Can  unique  index  becreated  on  more  than  onecolumns

Test  changes  to  COBOLDB2 program

GDG versions in a JCL

Prospects  of  MainframesProgrammers in 2012

db2  plan  used  by  CICSregion

How  to  check  the  versionof Syncsort

Julian calendar leap Year

How  is mainframe  for  2012in india for a fresher

What  is  file  status  code  of02 in COBOL

How  to  check  the  versionof DB2 on mainframe

Moving  spaces  to  numericfield

Julian  calendar  non  leapYear

Page 11: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 11/34

email  attachment  frommainframe

(FOC198)  FATAL  ERRORIN  DATABASE  I/O.FOCUS TERMINATING

Customize SORT

How  to  setup  xpediter  onmainframe

Synsort for subtotal

COBOL TUTORIALS

Convert  easytrieve  toCOBOL

DB2 TUTORIALS

Tata  Consultancy  ServicesNOIDA sector 63

Mainframe  interviewquestions

FTP  target  file  with  dateand time qualifier

Why  RRDS  VSAM  doesnot support alternate index

How to set maxcc=0???

mainframe jobs at TCS

mainframe computer

How  to  view  packed  datawithout  file  manager  or  fileaid

Monitoring job delays

how to check the version ofIMS database

Delete  few  records  from  aflat file

NOIDA  5  Address  TataConsultancy  Services(TCS)

Difference  between  copypending and check pending

Page 12: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 12/34

Which is better with respectto memory usage COMP orCOMP­3

What  is  the  LRECL  forprinter files in COBOL

What  is  AMODE  andRMODE

what  is  the  use  of  getmainand freemain in cics?

Cloning a DB2 table

What is a Page in DB2

Can  DB2  directory  beaccessed  using  SQLcommands

Extend  the  expiry  date  ofdataset

Primary  index  drops  whenprimary key dropped

Which  is  more  efficient"Between  phrase"  or"greater,  lesser  equalphrase"

can  alter  be  used  to  alterviews and indexes

Can  DB2  interface  withIMS­DB and IMS­DC

Can a table have more thanone primary key

Different levels of locking inDB2

What  is  the  latest  versionmainframe

Execute  COBOL  programusing REXX

Loading  VSAM  data  fromEBCDIC  environment  toASCII environment

Sorting  a  VB  file  givingunexpected results

Retrieving Job from SAR

Page 13: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 13/34

Alternat  Index  file  in VSAMupon loading VSAM file

Compiler  option  for  gettingstatement of abended line

What  is  uncommitted  readand when it is used

Would  Standalone  cobolprogram need link editing

Basics of XPEDITOR

How  to  make  a  COBOLprogram reentrant

Why  external  sort  betterthan internal sort

Plan  or  package  which  isexecutable

mainframe  files  ­  stripspaces/blanks/x'40'

Viewing  VSAM  file  withoutFile Aid or File manager

Can we  read  empty VSAMfile using COBOL

fetch  multiple  rows  withoutusing CURSORS

read  a  sequential  file  inreverse order in COBOL

Difference  between  Includeand Jcllib

To sort an output file havingduplicates using sort.

Screen  scraping  tool  foremulator

Un  initialized  variables  insystem

reformat  packed  comp­3fields using file­aid

S0C7  on  Movingalphanumeric  data  toCOMP­3

Delete  the  latest  version

Page 14: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 14/34

from endevor

linkage in COBOL

Cobol Get Cloudy

Last modified  date  of  a PSfile

Display Hex codes

Restart  a  step  in  NestedProc

Execute  REXX  CLIST  atlogon

How  to  send  sms  frommainframe

Difference  between  Libraryand PDS

Instream or Catalog proc  inJES spool

Some  amazing  facts  aboutmainframe

GDG version in report

Difference  between  Copyand Include

Attributes of a Tape dataset

Reading  last  record  inVSAM file

PLAN_TABLE  andEXPLAIN command

New indexes to be used byCOBDB2 program

Walk­in  10th/14th/21st/28thSep  for  MainframeDeveloper/Sr.Developer/Modulelead\Tech lead

How  to  create  dynamicarray in COBOL

What is Tandem Cobol

Calling REXX from COBOL

Page 15: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 15/34

COBOL program to delete aPS file

Signout error in endevor

Add  1  to  Hex  values  incobol

Compare two PDS

How  to  pass  data  fromCOBOL to JCL

How  to  run  JCL  usingCOBOL

Prerequisites  forconcatenating datasets

Splitting  a  file  into  equalnumber of records

Skipping  xth  and  ythrecords in a file

How to View the RCT entryfor a CICS trx

CICS  command  to  knowprogram  name  allocated  toCICS transaction

CICS  command  to  knowDSN  name  allocated  toCICS file name

Called  program  static  ordynamic calling

DB2 commit question

Skip first n records and lastn records in a file

Handle  Ignore  and  Respwhich one to use

DB2 702  certification  studymaterials

ISPF tips and tricks

Limit  on  size  of  array  incobol program

Changing  the  attributes  ofcolumn in a Table

Page 16: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 16/34

How  to  fetch  last  n  rowsonly in DB2?

CSC,Exp:6­10yrs,Skillset­C++,Job­location:Chennai

Is  it  possible  to  passwordprotect datasets?

How  to  calculatedmaximum  space  usingprimary  and  secondaryunits

Why  VARCHAR  item  inCOBOL must be defined at49 level?

Subprogram containing DB2Cursor called multiple times

Cursor  remain  open  orclose  when  control  returnsto calling program

Any  free  mainframeemulator  for  practicingCOBOL etc

GalaxE­Exp:5­8yrs,Job­location:Blr­Noida

CICS  program  does  notneed to open a file explicitly

Converting Easytrieve codeto COBOLcode

max  length  of  data  passedfrom JCL to COBOL

How to skip the first step ina Job

Relation between BLKSIZEand LRECL

Why  do  we  codeBLKSIZE=0 in JCL

Synova,  Exp:5­6yrs,Joblocation:Bangalore

Magna  Infotech,Exp:5+,Joblocation:Bangalore

Difference between FB andFBA RECFM

Page 17: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 17/34

Edited  Numeric  item  notgetting initialized

TCS,Exp:2­8  Yrs,Job­Location:Delhi/NCR­23rdJuly 2011

NIIT Tech,Exp:3­8 Yrs,Job­Location:Delhi/NCR­23rdJuly 2011

What  is  special  about  thisCOBOL program

About IBM

Why  does  Storage  controlprogram  has  nocorresponding CICS table

When  would  Includecommand  in  Jcl  getexpanded

Relation  between  Plan,Packages and collection

PC equivalent of fileaid

Subquery  used  in  Wherereturns more than one row

Db2  question  which  querywill not work

Searching for Hex values inCOBOL program

How  to  run  jobs  in  ASCIIcharset  on  mainframeexpress

Replacing  data  in  allmembers of a PDS

How to convert a VSAM fileto flat file?

How to get the attributes ofa file on Tape?

How many  plans  packagesneeded?

Dynamic  calling  givingS0C1  abend  while  callingsubprogram

Page 18: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 18/34

COBCH0576S  Precedingstatement is not imperative

What  changes  required  forchanging  Static  calling  todynamic calling

Access  database  at  twoLPARs using COBOL

On  size  error  truncation  orno effect

Real  life  example  of  ­805sql code

Display  hexadimal  valuesusing COBOL

Compiling COBOL in ASCIImode in mainframe express

Mainframewizard  App  foryour NOKIA phone

Finding  the  Length  of  astring

Length  of  each  record  inVariable file

Do  we  have  REVERSEcommand in COBOL?

Can  we  display  value  ofIndex in COBOL

IP  address  using  themainframe id

Purpose  of  TYPRUNCOPY in JCL

Comparing  two  files  inbatch mode

Problems  in  Editing  a  hugefile

Compile and Run JCL for aCOBOL program

Easytrieve  equivalent  ofS9(7)V99  Comp­3  inCOBOL

Converting EBCDIC data toASCII format

Page 19: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 19/34

How  to  find  the  last  runtime of reorg and runstats

SEARCH  ALL  notsearching the entire Table

How  to  control  TSOsession Time

How  to  SAVE  list  ofmembers in a PDS

Index  dropped  andrecreated  error  inDSN1COPY step

Elements  Signed  out  to  anID in endevor

How  to  check  CopyPending Flag and fix it

Pull  data  from  SAR  usingdate as filter

CANCEL  command  toCANCEL calling program

LRECL  limit  of  SPUFIoutput dataset

Difference  betweenperforming  section  andparagraph

Difference  betweenCONTINUE  and  NEXTSENTENCE

What  is  the  Size  ofS9(18)V99 COMP­3

Dynamically called programstays in memory

Difference  between  Staticand Dynamic call

Examples  of  Inner  Join,Left Outer Join, Right outerjoin

What  is  file  status  9  andstatus key 13 in VSAM?

What  is  the COMP­X  usedfor?

Page 20: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 20/34

Grant with Grant on Views

Notifying  multiple  usersusing JCL

Static  linking  change madeto called program not callingprogram

Can  we  call  a  CatalogedProc  from  anothercataloged Proc

FTP  file  to  from mainframein Batch

How  to  read  a  VSAM  filewith Partial Key

What  is  the  differencebetween OS/390 and z/OS

DB2 cursor close  if commitissued

Why  Varchar  columns  uselevel number 49

Maximum  length  of  a  DB2Column Name

Difference between Primarykey and Unique Key

Order By Clause in DB2

EJECT  command  inCOBOL

What  is  Cancel  commandin COBOL used for?

What  is  the  differencebetween  Stop  Run  and  GoBack

Manipulation  with  DB2dates  times  andtimestamps

How  to  get  the  number  ofmembers  in a PDS withoutopening it?

SQL  CODE  ­625  whilecreating primary key

How  to  select  nth  max

Page 21: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 21/34

salary  from  employeetable?

How to concatenate stringsin Ezytrieve

Adding  new  column  andaltering Primary Key of DB2Table

Submit  selected  steps  inJCL without altering it

Load  VSAM  data  to  DB2TABLE

DDNAMES  prefixed  withUT in COBOL program

Passing  data  from  COBOLto JCL

How  to  send  email  frommainframe?

LRECL and RECFM for flatfile  created  by  VSAMunload

Converting  date  in  Julianformat to Gregorian format

convert  COMP­3  data  inreadable mode

Printing  copybook  layout  toa file

where  to  look  for  theversion of zOS?

What is an ASRA abend?

What  is  the  purpose  ofusing SYNC in COBOL?

What  is  the  differencebetween  Disp=MOD  andDisp=OLD

Why  we  need  Variableblocked files?

Can  we  redefine  a  PICX(100) item to X(200)?

Can  anyone  help  me  intaking  dump  of  a  DB2

Page 22: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 22/34

table?

How  to  bring  a  Job  backfrom SAR to Spool?

Is  it  possible  to  submit  aJCL in loop?

what  is  the  differencebetween  comp  and  comp­3in COBOL?

Running Exe on mainframe

precompile compile and linkedit  jcl  for  cobol  db2program

Record length of DB2 Table

DIFFERENCE  BETWEENCOBOL  SEARCH  ANDSEARCH ALL

SELECT  INTO  SQLSERVER  AND  SELECTINTO DB2

SQL code ­305

IBM Websphere applicationserver

SQL code ­905

SQL CODE ­904

SQL code ­204

Sql Code ­803

db2  interview  questionswith answers

JCL interview questions

CICS  Interview  Questionswith answers

What is a GDG?

JCL interview question 2

JCL interview question 1

migrating from mainframe tomicro focus MFE

Page 23: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 23/34

How  many  ExecStatements can a JCL haveat maximum?

How  to  Delete  DuplicateRows from DB2 Table

What  is  the  differencebetween  Cursor  stabilityand Repeatable read.

What is a db2 package?

What is db2 plan

Difference  BetweenCatalog and Instream Procs

What is mainframe express

tso line commands

Alias of DB2 Table

Synonym of DB2 Table

mainframe tips

unused tape dataset report

Would  mainframetechnology  be  relevant  inthe  age  of  cloudcomputing?

COBOL  TO  RECEIVEDATA FROM JCL

Creating Primary Key whilecreating DB2 Table

Changing  the  primary  keyon existing DB2 Table

Adding  Primary  Key  onexisitng DB2 Table

Drop  Primary  Key  on  DB2Table

Create a DB2 Table

Drop Index of a DB2 Table

Drop Table DB2

Wildcard  characterunderscore in DB2

Page 24: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 24/34

Wildcard  character  percentin DB2

mainframe jobs india

What is a VSAM?

S322 Abend

S222 Abend

S822 Abend

S0C4 Abend

S0C7 Abend

JCL  to  create  membersusing Flat File

JCL  to  create  newmembers  in  a  PDS  usingIEBUPDTE

Walk­ins at Bangalore

Walk­ins at Chennai

Walk­ins at Hyderabad

Walk­ins at NOIDA

What is Cloud computing

mainframe websites

Submit Articles

SORT using REXX

Free mainframe Tools

Free mainframe emulators

Free COBOL compilers

Copy flat file to VSAM file

JCL to Unload all membersof PDS in a PS Flat file.

What does EXCP  in SDSFmean

Cricket  World  cup  2011India

Mainframe  Disaster

Page 25: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 25/34

Recovery

What is a MAINFRAME?

TSO ISPF

List all signed out elementsin endevor

Saving  breakpoints  inxpediter

How to assign a PF Key toa command

How  to  retrieve  the  lastcommand issue

How  to  list  the  commandsissued earlier

How  to  compare  a  datasetwith  other  dataset  whileviewing or editing it

How  to  find  datasets  lastreferenced by you

How  to  find  who  is  usingyour dataset

How to find the TSO regionin which you are logged on

How  to  find  the  changessince last save?

UNSTRING  DELIMITEDON OVERFLOW

UNSTRING  DELIMITEDWITH POINTER OPTION

UNSTRING  DELIMITEDBY IDENTIFIER

UNSTRING  DELIMITEDBY LITERAL

STRING  DELIMITED  ONOVERFLOW

STRING  DELIMITEDWITH POINTER

DIFFERENCE  BETWEENSTRING and MOVE

Page 26: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 26/34

STRING  DELIMITED  BYSIZE

STRING  DELIMITED  BYIDENTIFIER

STRING  DELIMITED  BYLITERAL

INSPECT  REPLACINGCHARACTERS  BYLITERAL BEFORE INITIALLITERAL

INSPECT  REPLACINGLEADING  SAPCES  BYLITERAL

INSPECT  REPLACINGALL SPACES BY LITERAL

INSPECT  TALLYING  FORCHARACTER  AFTERINITIAL SPACES

INSPECT  TALLYING  FORCHARACTER  BEFOREINITIAL SPACES

INSPECT  TALLYING  FORCHARACTER

INSPECT  TALLYING  FORLEADING ZEROES

COBOL  INSPECTTALLYING  FOR  LEADINGSPACES

INSPECT  TALLYING  FORALL IDENTIFIER

COBOL  INSPECTTALLYING  FOR  ALLLITERAL

COBOL  INSPECTTALLYING  FOR  ALLSPACES

COBOL EVALUATE TRUEALSO TRUE

COBOL  EVALUATEARITHMETICEXPRESSION

COBOL  EVALUATE

Page 27: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 27/34

CONDITIONALEXPRESSION

COBOL  EVALUATELITERAL

COBOL  EVALUATEIDENTIFIER

COBOL  EVALUATEFALSE

COBOL EVALUATE TRUE

COBOL  PERFORMVARYING UNTIL

COBOL PERFORM TIMES

COBOL  PERFORM  WITHTEST AFTER

COBOL  PERFORM  WITHTEST BEFORE

COBOL PERFORM UNTIL

COBOL  GO  TODEPENDING ON

COBOL PERFORM THRU

COBOL PERFORM PARA

COBOL  INLINEPERFORM

COBOL  JUST  RIGHTCLAUSE

PACK ON/OFF

Generate  list  of  files  in  afolder using DOS

RECORD  AND  PLAYTEXTPAD MACROS

JCL  FOR  SPLITTINGDATA USING OUTFIL

COMMON JCL FOR SORT

SORT  JCL  to  Split  datausing OUTFIL

SORT  JCL  to  SUM  upvalues

Page 28: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 28/34

SORT  JCL  to  copy  whenlocation of matching data isnot known

SORT  JCL  to Mask  outputdata

SORT JCL to put SPACESend of  record using  INRECor OUTREC

SORT  JCL  to  append  datain a record using INREC orOUTREC

SORT  JCL  to  filter  datausing INREC or OUTREC

SORT JCL with OMIT

SORT JCL with INCLUDE

SORT  JCL  to  sort  in  Charformat

SORT  JCL with STOPAFTand SKIPREC

SORT JCL with SKIPREC

SORT JCL with STOPAFT

SORT  JCL  to  Copy  allrecords

Update  Data  in  one  DB2table  using  data  in  anothertable

Update Data  in one columnof  a  DB2  Table  using  datain another column

Set Breakpoint before everyCALL in xpediter

disclaimer

Page Not found message

File  Manager  to  get  recordcount of VSAM

Compress  PDS  ­  abendSE37

Wrapping  data  at  aparticular column

Page 29: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 29/34

Searching  a  member  inmore than one pds at a time

Autocomplete  feature  onmainframe

Retain  the  last  executedcommand on command line

Search  string  containsquotes

Low  values  to  Spacesusing SORT

Selecting  various  groups  inSDSF

Transfer  file  from  and  tomainframe using FTP

Check if Day light saving isin Effect

DB2 TIPS

If  the VSAM  is  empty  thencopy job abends

Check for empty file

Difference  in  number  ofdays  using  DB2  daysfunction

Description of a DB2 Table

Copying files from Tapes toDASD

DB2 query  to select  first orlast N rows

JCL  to  submit  particularsteps of  another  JCL usingIEBEDIT

Welcome  toMainframewizard

WIN32 Sality Virus remover

SORT Tips  and  Tricks  andExamples

abend tracker

Verification of CONTOKEN

Page 30: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 30/34

in  SYSPACKAGEDBRMLIB LOADLIB

SUPERCE  in  Batch  tocompare datasets

Ten  Steps  to  SetupHercules  TurnkeyMainframe emulator

Date and timestamp in loadobject

COBOL Allowed Moves

REXX to Connect with DB2

CLIST to put flower box

Clist to Tag COBOL code

Rexx to Save in View Mode

JCL  to  List  MigratedDatasets

JCL Examples

Sort  JCL  to  Removeduplicates

JCL  to  list  all  datasetsstarting with

JCL TO CONVERT VB TOFB FILE

Initialize a filler in cobol

mainframe tutorials video

mainframe tutorials

Testimonials

cobol­interview­questions­6

COBOL  INTERVIEWQUESTIONS­5

COBOL  INTERVIEWQUESTIONS­4

COBOL  INTERVIEWQUESTIONS­3

COBOL  INTERVIEWQUESTIONS IN PDF

Page 31: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 31/34

COBOL  INTERVIEWQUESTIONS  WITHANSWERS

COBOL  INTERVIEWQUESTIONS

COBOL  EDITEDPICTURE CLAUSE

COBOL DIVIDE VERB

COBOL MULTIPLY VERB

COBOL  SUBTRACTVERB

COBOL ADD VERB

COBOL  RENAMECLAUSE

COBOL  REDEFINECLAUSE

COBOL­ACCEPT  andDISPLAY

COBOL smallest program

other links

COBOL EXAMPLES

Link to mainframewizard

MAINFRAME MANUALS

CLIST  To  Allocate  Systemlib

Changing Long Strings

DMBATCH  for  PullingNDM data in batch

Pull SDSF Data in Batch

Saving in View Mode

Spool Data to a Dataset

Time  Stats  of  Job  fromSAR

Basics of Mainframe

Abends

Page 32: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 32/34

About Me

Basic CLIST Commands

ISREDIT Macro Errors

Sql Codes

REXX  to  extract  membernames in PDS

Error Codes

MVS Tips

ISREDIT  Macro  PictureStrings

CLIST REXX Tips

CLIST to read a line

File Status

CALLING  REXX  FROMCLIST

Basic TSO commands

Passing  parms  argumentbetween CLIST and Macro

Batch  Job  to  Run  CLIST­REXX

User  Interface  onMainframe

Arrays in CLIST

Change Member stats

Job  to  Extract  Abend  infofrom SAR

Disabling  Edit­View  EntryPanel

Delete  datasets  cataloguedin JCL:

Comment­Uncomment JCL

Block  commentUncomment  COBOLStatements:

Basic ISPF commands

Page 33: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 33/34

How to Execute CLIST

Consolidated  Report  onProduction Cycle:

Personal Job Scheduler

Basic HSM commands

Basic SDSF Commands

mainframewizard.com

Basic ISREDIT Commands

change data in half file

open cursor takes long time

RACF commands

re  catalog  uncatalogueddatasets

SQL CODE ­058

SQL CODE ­102

SQL CODE ­101

SQL CODE ­097

SQL CODE ­096

SQL CODE ­087

SQL CODE ­011

SQL CODE ­084

SQL CODE ­079

SQL CODE ­060

sql code ­010

SQL CODE ­029

SQL CODE ­103

SQL CODE ­104

SQL CODE ­105

SQL CODE ­205

SQL CODE ­203

SQL CODE ­113

Page 34: Length of Each Record in Variable File

11/17/2015 Length of each record in Variable file

http://mainframewizard.com/content/length­each­record­variable­file 34/34

SQL CODE ­112

SQL CODE ­111

SQL CODE ­110

SQL CODE ­109

SQL CODE ­108

SQL CODE ­107

sql code ­007

IBM DB2 Certification

 

ASK A QUESTION ON

FORUM

FORUM LIST

MAINFRAME­JOBS

COBOL FORUM

JCL FORUM

DB2 FORUM

CICS FORUM

TOOLS FORUM

LOGIN

LOGOUT

MANUALS

ALL­POSTS

Copyright © 2015,

Design by FreeBiezz