Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Easytrive Redefine

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
vidyaa

New User


Joined: 02 May 2008
Posts: 77
Location: chennai

PostPosted: Mon Jun 19, 2017 6:01 pm    Post subject: Easytrive Redefine
Reply with quote

Hi,

Am trying to redefine a file variable in easytrieve but it is not getting aligned properly

Ex: File 16 to 18 position I have the record 06A. Am defining as below

Code:

DEPT             16   3 A     HEADING ('DPT')     
DEPTMENT         16   2 A                         
DEPT-A1          18   1 A                         

but writing the output I should have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = A

Instead I have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = C --> this is the value from the second record which has 06C and takes the value from the next next record for tha DEPT-A1 alone instead of the same record.

Am not sure what is missing here where any redefine issue or some thing else.
Back to top
View user's profile Send private message

Benchwarmer

New User


Joined: 16 Jul 2016
Posts: 6
Location: desk

PostPosted: Tue Jun 20, 2017 12:55 am    Post subject:
Reply with quote

Your post does not provide enough information for others to help. Provide full code.

You may be bypassing the first record.
Back to top
View user's profile Send private message
vidyaa

New User


Joined: 02 May 2008
Posts: 77
Location: chennai

PostPosted: Wed Jun 21, 2017 11:51 am    Post subject:
Reply with quote

How to concatenate two fields in esytrive
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1932
Location: UK

PostPosted: Wed Jun 21, 2017 3:02 pm    Post subject:
Reply with quote

You are now asking a completely different question - a new topic should be started foa new question.

Also, you have not responded to the points raised by 'Benchwarmer'.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2287
Location: @my desk

PostPosted: Wed Jun 21, 2017 6:04 pm    Post subject:
Reply with quote

If you have figured out your original problem yourself, post it here for others' benefit.
If you have a completely different issue, start a new topic.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Redefine SYS1.PROCLIB farhad_evan JCL & VSAM 12 Mon May 22, 2017 10:54 pm
No new posts Redefine Numeric to Alphanumeric suraaj COBOL Programming 4 Mon Oct 06, 2014 9:16 pm
No new posts Initializing filler default value whe... dsivapradeep COBOL Programming 6 Thu Feb 13, 2014 11:17 am
No new posts please help how we can achive record ... srinivasulu.p CA Products 1 Tue Jan 21, 2014 8:38 pm
No new posts Multiple 400-byte redefine layouts &a... Scott McC Compuware & Other Tools 14 Tue Jul 23, 2013 10:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us