Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RM/COBOL Index File to Sequential File Conversion

Status
Not open for further replies.

RTCULP

IS-IT--Management
Feb 18, 2014
2
0
0
US
BARUCH,

Do you still have the utility program you wrote about in a previous thread?

Thanks,
Rick



C O B O L I N D E X F I L E T O S E Q U E N T I A L F I L E
================================================================
(ESC-EXIT)
1. INPUT INDEX
FILE PATH+NAME: '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
NUBER OF RECORDS:~~~~~~~~~~~~~~~~~~~

FIX/VAR: ~ (F-FIX , V-VAR)

RECORD LENGTH: FROM: ~~~~ TO: ~~~~

KEY INFORMATION: ALTERNATE-KEYS:'~' (0-NO,1-YES)
! KEY ! STARTING ! KEY ! DUPLICATES !
! NUMBER ! POSITION ! LENGTH ! PERMITTED !
! ------ ! -------- ! ------ ! ---------- !
! XXXXX ! 'ZZZZ' ! 'ZZZZ' ! 'X' !




2. OUTPUT SEQUENTIAL
FILE PATH+NAME: '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
OUTPUT FILE EXIST OVERIDE?:'~' (Y-YES ' N-NO)
FUNCTION: '~' (1-2 , Y-OK , @,ESC-EXIT)
 
It might be helpful to know what version of RM/COBOL you are inquiring about.

Tom Morrison
Hill Country Software
 
If you have the RM/COBOL Development System (i.e. compiler), the recover2 utility will create copy all the data records out of an indexed file to a sequential file. Documented in the RM/COBOL Users Guide.

Tom Morrison
Hill Country Software
 
you can always use to do the conversion - and taking in consideration that doing a conversion like that using rm/cobol tools would be considered batch processing according to current MicroFocus EULA you would eventually be subject to pay their absurd per core license with no need.

To use record-editor you just need to specify your input file as being fujitsu cobol.

Regards

Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top