Skip to main content

dfstrcl error

I'm "following" the knowledgebase article concerning MFDBFH ... https://portal.microfocus.com/s/article/KM000015911?language=en_US

One of the tools they use is dfstrcl

However when I try and use it I get the following.

[smc-business]eric:/data/esource/V10/New_Configuration.bin>ls -l *.idy
-rw-rw-r-- 1 devuser devuser 61440 Dec 20 09:07 CUSTOMER.idy
-rw-rw-r-- 1 devuser devuser 63488 Dec 20 09:07 FILEHAND.idy
[smc-business]eric:/data/esource/V10/New_Configuration.bin>dfstrcl CUSTOMER.idy

Layout File Creation - DFSTRCL V TEST
Loading file - CUSTOMER.idy
Error: File not found or wrong type
Processing complete

I'm trying to figure out how to get the MFDBFH to work ...

Any input would be appreciated.



------------------------------
Eric Boatman
Application Programmer
SMC Packaging
Springfield MO US
------------------------------

dfstrcl error

I'm "following" the knowledgebase article concerning MFDBFH ... https://portal.microfocus.com/s/article/KM000015911?language=en_US

One of the tools they use is dfstrcl

However when I try and use it I get the following.

[smc-business]eric:/data/esource/V10/New_Configuration.bin>ls -l *.idy
-rw-rw-r-- 1 devuser devuser 61440 Dec 20 09:07 CUSTOMER.idy
-rw-rw-r-- 1 devuser devuser 63488 Dec 20 09:07 FILEHAND.idy
[smc-business]eric:/data/esource/V10/New_Configuration.bin>dfstrcl CUSTOMER.idy

Layout File Creation - DFSTRCL V TEST
Loading file - CUSTOMER.idy
Error: File not found or wrong type
Processing complete

I'm trying to figure out how to get the MFDBFH to work ...

Any input would be appreciated.



------------------------------
Eric Boatman
Application Programmer
SMC Packaging
Springfield MO US
------------------------------

That demo was created for Windows but should work on Linux as well.

The file CUSTOMER.idy does not contain any information about a file layout.

You need to run the command on the other .idy file FILEHAND.idy as this is the program where the file is defined.

The article uses the command:

DFSTRCL FILEHAND.IDY



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

That demo was created for Windows but should work on Linux as well.

The file CUSTOMER.idy does not contain any information about a file layout.

You need to run the command on the other .idy file FILEHAND.idy as this is the program where the file is defined.

The article uses the command:

DFSTRCL FILEHAND.IDY



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

I actually had tried that ... same error.

Layout File Creation - DFSTRCL V TEST
Loading file - FILEHAND.idy
Error: File not found or wrong type
Processing complete



------------------------------
Eric Boatman
Application Programmer
SMC Packaging
Springfield MO US
------------------------------

I actually had tried that ... same error.

Layout File Creation - DFSTRCL V TEST
Loading file - FILEHAND.idy
Error: File not found or wrong type
Processing complete



------------------------------
Eric Boatman
Application Programmer
SMC Packaging
Springfield MO US
------------------------------

The command from the article's PDF works fine for me on RHEL:

dfstrcl FILEHAND.idy /d CUSTOMER-RECORD /o CUSTOMER.STR
 
Layout File Creation - DFSTRCL V TEST                         
Loading file - FILEHAND.idy
Default structure created - CUSTOMER-RECORD               
Structure file created - CUSTOMER.str
Processing complete



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

The command from the article's PDF works fine for me on RHEL:

dfstrcl FILEHAND.idy /d CUSTOMER-RECORD /o CUSTOMER.STR
 
Layout File Creation - DFSTRCL V TEST                         
Loading file - FILEHAND.idy
Default structure created - CUSTOMER-RECORD               
Structure file created - CUSTOMER.str
Processing complete



------------------------------
Chris Glazier
Principal Technical Support Specialist
Rocket Forum Shared Account
------------------------------

Thanks, 

I would've sworn that was the command I was using ... but it worked now

So now to install/setup SQL server to see if I can get the tutorial to work.

Eric Boatman



------------------------------
Eric Boatman
Application Programmer
SMC Packaging
Springfield MO US
------------------------------