English
Forum

Datensätze from a file in variables take

 

Torsten
Rümker
Hi,
i want gladly one own Datenformat to that store of data (ASCII) in a of my projects benefit,
and there's me invaded, that it with COBOL The possibility given/gives sozusagen Variablenkonstrukte to create.

means: one reads a complete Line the File one, and distributed these then automatically on The suitable variables, where each Datenbereiche simply through your length marked are, sozusagen the first four characters are The ID The next 10 characters are a Description etc.
now could I naturally with the Stringfunktionen simply the eingelesene on each variables distribute, but me would hold interested, whether it possible is the in a Slip To do? (so How in COBOL hold) knows here at all yet someone COBOL?

[edit] I Have strain fixes, the it naturally irrsinnige Platzverschwendung is data so To Save, but interested whether it possible is täte me already[/edit]
MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
11/08/05  
 




Melanie
Brayer
Doobly-Doo Thorsten,

contact you at times Claus Santa, best via PM. he's all-around Progammierer. ( ...there must I fit)

Ciao
 
mele (¯`·.¸¸.{ WinXP Pro, XProfan9, XPIA }.¸¸.·´¯)

<Bugs zählen ist besser als Schafe zählen, da der Computer nur so schlau ist wie der der Mensch der ihn bedient.>
11/08/05  
 



@Torsten

with the detour the Emulation of assoziativen Arrays would You receive what You gladly would have?
 
11/08/05  
 




Michael
Wodrich
is still integrally simply spoke the old boy Cobol-Freak.

Nimm a structure and a area and you have very the, what in Cobol possible is.
About a procedure are then too Umstellungen possible. If z.B. the Quellstring reines ASCII is, but numbers contains, then take You 2 Structures.
The 1. describe the Eingabeformat, The 2. contains then The Zahlenfelder.

example:
CompileMarkSeparation
Declare Var1#,Var2#
Struct Form1 = Name$[30],Gehalt$[18]
Struct Form2 = Name$[30],Gehalt!
Dim Var1#,Form1
Dim Var2#,Form2

Proc Umsetzer

    Var2#.Name$ = Var1#.Name$
    Var2#.Gehalt! = Val(Trim(Var1#.Gehalt$))

c

The data fetch You you simply with BlockRead into Memory-Variable.

Changes on the Datenstruktur concern then always the two Structures and the Umsetzer-procedure.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
11/08/05  
 




Torsten
Rümker
Genausowas schwebte me original to,
I knew still the it possible his should

time see, whether I the now so make or still rather with of/ one CSV File work, be somehow unentschieden.

MfG
Torsten Rümker
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
11/09/05  
 



I personally find the old Header=>Chunk-take action well on the most beautiful, even if one itself always first one own stature from the Angel leiern must. For this has one but whom benefit the The File possible-small, and not immediate of each einlesbar is.

salvo.
 
11/09/05  
 




Michael
Wodrich
...what about me mags very differently around. One variable set with all Beschreibungen:

name:Kalle, vname:Ulf, plz:23552, place:Lübeck
name:Zwirn, vname:Fritz, place:Neuwerk
nameummy, place:somewhere in small-Kleckersdorf

because of the encompassed Feldnamens anytime zuzuordnen. not available boxes go in the data base simply on Vorgaben staid.

and the can then too to years yet understood and used go.

Best wishes
Michael Wodrich

PS: this stature can itself too very beautifully with Profans @SubStr$() take apart.
 
Programmieren, das spannendste Detektivspiel der Welt.
11/09/05  
 




Carlo
Keil
... and lying naturally fully in the Trend in direction XML
 
11/10/05  
 




Torsten
Rümker
[quote:ca5227475a=Michael Wodrich]
name:Kalle, vname:Ulf, plz:23552, place:Lübeck
name:Zwirn, vname:Fritz, place:Neuwerk
nameummy, place:somewhere in small-Kleckersdorf

PS: this stature can itself too very beautifully with Profans @SubStr$() take apart.[/quote:ca5227475a]
I faith this is a Variante The me zusagt

then need so did i not allzuvielen Files works, I Yes on The manner too very beautiful unterbereiche into File einarbeiten can.
mandatory I only yet consider, whether I the everything then directly of my Program make let or a Server dazwischenschalte. (around the whole Netzwerkfähig To make)

MfG
Torsten
 
Ich lerne, ob ich will oder nicht!
Betriebssystem:
- Ubuntu 15.x
- Windows (diverse)
XProfan Version: X2
11/10/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.155 Views

Untitledvor 0 min.
Richi11/14/13
Untitled03/19/12
Stephie09/03/11
Frank Vorholzer04/15/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie