{"id":3807,"date":"2023-05-22T12:13:19","date_gmt":"2023-05-22T10:13:19","guid":{"rendered":"https:\/\/www.skillup.cloud\/?p=3807"},"modified":"2024-01-23T17:46:35","modified_gmt":"2024-01-23T16:46:35","slug":"relazioni-pf-lf-physical-logical-files","status":"publish","type":"post","link":"https:\/\/www.skillup.cloud\/it\/relazioni-pf-lf-physical-logical-files\/","title":{"rendered":"Relazioni PF LF (Physical Logical Files)"},"content":{"rendered":"\n<p>Per sapere quali sono le LF di un PF o il viceversa \u00e8 possibile utilizzare il File QSYS.QADBFDEP.<\/p>\n\n\n\n<p>&#8211; Per sapere tutte le LF di un PF:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&nbsp; SELECT DBFLDP, DBFFDP\n&nbsp;   FROM QSYS.QADBFDEP\n&nbsp;  WHERE DBFLIB = 'DEV1_LIB'\n&nbsp;    AND DBFFIL = 'REPCLI'<\/pre>\n\n\n\n<p>Result:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">---\n&nbsp; DBFLDP&nbsp;&nbsp; &nbsp;DBFFDP\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLICC\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLIEM\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLIID\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLII1\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLII2\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLII3\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLII4\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLII5\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLILD\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLILF\n&nbsp; DEV1_LIB &nbsp;&nbsp;&nbsp; &nbsp;REPCLILM\n---<\/pre>\n\n\n\n<p>Per sapere i PF di una LF:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">SELECT DBFLIB, DBFFIL\n&nbsp; FROM QSYS.QADBFDEP\n WHERE DBFLDP = 'DEV1_LIB'\n&nbsp;  AND DBFFDP = 'REPCLIL1'<\/pre>\n\n\n\n<p>Result:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">---\nDBFLIB&nbsp;&nbsp;&nbsp; DBFFIL\nDEV1_LIB&nbsp;&nbsp;REPCLI\n---<\/pre>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" width=\"32\" height=\"32\" class=\"wp-image-3817\" style=\"width: 32px;\" src=\"https:\/\/www.skillup.cloud\/wp-content\/uploads\/2023\/11\/Actions-help-hint-icon.png\" alt=\"\">Casi in cui pu\u00f2 essere utile:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>per sapere tutte le LF di un PF<\/li>\n\n\n\n<li>per sapere i PF di una LF<\/li>\n\n\n\n<li>per sapere se esistono LF che puntano a pi\u00f9 PF<\/li>\n\n\n\n<li>per sapere se esistono PF e LF che sono in Librerie diverse fra loro<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Come ottenere informazioni sulle relazioni PF LF (Physical Logical Files)<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[16],"tags":[31,46,62,68,69,29],"class_list":["post-3807","post","type-post","status-publish","format-standard","hentry","category-iniziamo-con-alcuni-esempi","tag-db2","tag-sql","tag-iseries-400","tag-pf","tag-lf","tag-as400"],"_links":{"self":[{"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/posts\/3807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/comments?post=3807"}],"version-history":[{"count":8,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/posts\/3807\/revisions"}],"predecessor-version":[{"id":3903,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/posts\/3807\/revisions\/3903"}],"wp:attachment":[{"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/media?parent=3807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/categories?post=3807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skillup.cloud\/it\/wp-json\/wp\/v2\/tags?post=3807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}