View previous topic :: View next topic
|
Author |
Message |
ravikanth
New User
Joined: 12 Jan 2006 Posts: 29
|
|
|
|
Hello EveryOne,
1.In Easytrieve How do we check for Not equal to between two fields.
For example when i tried A != B & A Not Equal B. It gave me a return code 16.
Also is A < B a valid statement in easytrieve?
2. In Easytrieve, How do i define a file whose RECFM=VB
I know if the LRECL is 100 in the program it should be defined with 96.
Will it work if i dont give any specific like V/VB in the file definition.
Ravikanth Chavali |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Ravi,
Quote: |
In Easytrieve How do we check for Not equal to between two fields |
Use '¬=' for NE.
Quote: |
Also is A < B a valid statement in easytrieve? |
Yes (eg. in 'if' cond).
Quote: |
In Easytrieve, How do i define a file whose RECFM=VB
I know if the LRECL is 100 in the program it should be defined with 96.
Will it work if i dont give any specific like V/VB in the file definition.
|
Your question is not clear. But, I assume you wanted to create VB file. Go through the FILE statement for VB file declaration.
Please 'rework' on easytreive basics. |
|
Back to top |
|
|
ravikanth
New User
Joined: 12 Jan 2006 Posts: 29
|
|
|
|
Hello Murali
Thanks a lot.
About my second question.
I have to Read a (RECFM=VB) Variable file(INFILE) and
Write into another (RECFM=VB) Variable file(OUTFILE), having same file definition.
I tried my best to get how this should be done but i was not able to get any info. Could please assist me
Thanks you,
Ravikanth Chavali |
|
Back to top |
|
|
|